Reputation: 175
I am trying to provision AWS services in multiple accounts (Same organization), using Terraform, Codebuild, Codecommit and Codepipeline. How to configure multiple named profiles (AWS Configure) in buildspec file? Is there any other workaround for this?
Upvotes: 1
Views: 495
Reputation: 238209
multiple named profiles (AWS Configure) in buildspec file
This is not a good idea. Usually you allow for cross-account access using cross-account IAM roles. So in your case, your CB script would assume IAM roles for different accounts so that it can interact with them.
Upvotes: 1