Use multiple AWS accounts #2868
-
Hello, I would like to use several AWS accounts to separate my environments (staging / production). Is this supported in copilot? Regards, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi @flemzord 👋 This is supported with Copilot today! When running (docs: https://aws.github.io/copilot-cli/docs/credentials/#environment-credentials) |
Beta Was this translation helpful? Give feedback.
Hi @flemzord 👋
This is supported with Copilot today!
When running
copilot env init
you can choose which AWS profile to use when creating a "staging" or "production" environment. The region associated with the profile will be used to create your environment (VPC, LB, ...) and services.For example:
(docs: https://aws.github.io/copilot-cli/docs/credentials/#environment-credentials)