Deploy to two AWS account



Is there a way to deploy to two different AWS accounts within a unique project on CircleCI?

Currently I have a account for staging and other for production, and I would like to create different jobs on circle.yml to deploy to staging account with commits to staging branch, and to production on commits to master branch.



Hi @lfpalacios

not sure if this applies to your situation, but if you are using Workflows then you can create two Contexts with the different sets of credentials in Environment Variables, and apply them to the specific Jobs that need them in the Workflow

I don’t know if this works for the AWS CodeDeploy integration, or if you are even using that