You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We use multiple (20+) AWS accounts in our organisation. I'm currently trying to create various roles for our CI to use, which are all duplicated across different combinations of accounts. for_each for resources enables me to do this easily (thanks for this) by iterating through a list of providers.
Proposal
What I'd really like to do is the following (assume for this that aws_account_name matches the profile in my AWS config, though this could easily work with a role for each account).
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
ghost
locked as resolved and limited conversation to collaborators
Oct 11, 2020
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Dynamically create providers with for each.
NOTE: I don't think this exist already
Current Terraform Version
0.12.26
Use-cases
We use multiple (20+) AWS accounts in our organisation. I'm currently trying to create various roles for our CI to use, which are all duplicated across different combinations of accounts.
for_each
for resources enables me to do this easily (thanks for this) by iterating through a list of providers.Proposal
What I'd really like to do is the following (assume for this that aws_account_name matches the profile in my AWS config, though this could easily work with a role for each account).
The text was updated successfully, but these errors were encountered: