You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
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?
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