The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Need to deploy from bamboo to dev/prod environments

Deleted user
December 13, 2018

I need to figure out how to deploy to separate dev/prod AWS accounts.  It is not clear how deploy decides to use AWS ACCESS Keys and SECRET Keys for each env.  Right now, there's a global environment variable set, do I override that in the prod deploy environment variables?

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

1 vote
Deleted user
December 16, 2018

Hi Phil,

Yeah, just override it in the deployment environment's variable settings.

We do this by keeping a aws credentials file on disk with all the different accounts included, then tell each environment which aws credential 'profile' it should use.

By default your OS will use  the first entry in $BAMBOO_USER_HOME/.aws/credentials unless you tell it explicitly which profile it should use via an environment variable

TAGS
AUG Leaders

Atlassian Community Events