Small tip: Multi aws-cli environment

Page content


If you use multi AWS accounts in your work environment, I hightly recommend to configure your “aws-cli profile” so that you can easily change your aws-cli account.

The only thing you need to do when you want to change your aws-cli environment is the option --profile. Very simple.

How to configure

Check under ~/.aws/. You can configure multi profile.