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

S3 sync fails if provider.region is a variable #70

Closed
spraot opened this issue Jun 17, 2020 · 2 comments
Closed

S3 sync fails if provider.region is a variable #70

spraot opened this issue Jun 17, 2020 · 2 comments

Comments

@spraot
Copy link

spraot commented Jun 17, 2020

This means we have to duplicate variables in a mono-repo because the references to shared variables break s3-sync. It appears that s3-sync does not attempt to resolve the variable at all.

@williamsandonz
Copy link

This is also affecting me, basically provider.region: ${env:foo} is not resolved and the sync fails.
I've created PR here: Could we please get have this reviewed and merged?

@clay-spfmlp
Copy link

It looks like provider.getCredentials().region always returns undefined no matter what you have region set to. We are trying to deploy to aws gov cloud and it breaks the whole deployment. If we replace provider.getCredentials().region with provider.getRegion(), it works.

@k1LoW k1LoW closed this as completed Feb 4, 2021
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

No branches or pull requests

4 participants