Skip to content
Discussion options

You must be logged in to vote

From a grunt

Ah so with our Landing Zone modules, because there are resources that need to be deployed in every region, we need to define the providers inside the modules so that the user doesn’t have the burden of defining R providers, one for each region.

This is indeed an anti-pattern according to terraform, and we are working on refactoring the multi-region approach to not need this (which is now possible thanks to new features in terraform 0.15).

In general, we recommend using an external tool that handles the AWS credentials and feeds it to the CLI via environment variables (e.g., aws-vault).

If you do wish to use the credentials file with profiles, you should be able to make it wor…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@gruntwork-support
Comment options

@gruntwork-support
Comment options

@gruntwork-support
Comment options

Answer selected by gruntwork-support
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
1 participant