Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Perform-tasks fails when creating/updating stacks with large templates to 2+ regions #569 #570

Conversation

kuggis
Copy link
Contributor

@kuggis kuggis commented Aug 5, 2024

Fixes #569

A new S3Client needs to be constructed whenever the template is uploaded to a new region. This isn't currently happening because region is not being passed as an argument to GetCredentialProviderWithRoleAssumptions when building the cacheKey within the GetS3Service function. This results in GetS3Service not seeing the request as a new cacheKey and the first S3Client is reused when it should not be.

… template to 2+ regions

region is not being passed as an argument to
GetCredentialProviderWithRoleAssumptions when building the cacheKey.
This results in a cached S3Client being returned when a new one should
be built for the 2nd region
@OlafConijn OlafConijn merged commit d503e03 into org-formation:master Aug 8, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bug: Perform-tasks fails when creating/updating stacks with large templates to 2+ regions
2 participants