I have two aws accounts: production and production. I am using aws-cli v3 to deploy via GIT in my production environment using eb deploy
I want to deploy regularly in my staging environment from my development branch, and when it comes to deploying a release, I want to be able to deploy from a newly created release to my production environment.
I already have a ~ / .aws / config file with my two sets of account keys (stage and production) and would like to do something like:
eb deploy --profile staging
and
eb deploy --profile production
Is it necessary to have two environments under one account and use eb use production-env and eb use staging-env ?
amazon-web-services beanstalk aws-cli
Mark kenny
source share