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
I am having 15 aws account with 6 aws resources needs to deploy on 15 account. currently I have established the connection between 15 aws account via cross account role . but provider block is not working for_each.
I have 6 root modules in which i am deploying the resources. i don't want to pass 6 root modules for each account. it should be dynamic to assume all 15 accounts and deploy all 6 resource
Proposal
No response
References
No response
The text was updated successfully, but these errors were encountered:
Terraform Version
Use Cases
I am having 15 aws account with 6 aws resources needs to deploy on 15 account. currently I have established the connection between 15 aws account via cross account role . but provider block is not working for_each.
Attempted Solutions
provider "aws"
{
for_each = var.accounts
assume_role = "each.value.role_arn"
}
kindly help with this
I have 6 root modules in which i am deploying the resources. i don't want to pass 6 root modules for each account. it should be dynamic to assume all 15 accounts and deploy all 6 resource
Proposal
No response
References
No response
The text was updated successfully, but these errors were encountered: