mardi 28 juillet 2015

AWS - Elastic Beanstalk CLI - how to list/change profiles

I have two AWS accounts, one for personal, one for work-related projects. I've previously created and deployed to my personal AWS account.

I want to create a work-related app on the work AWS account. I signed in with those credentials, and created a new application from within the console.

Then, in my work project folder, I eb init and eb create/deploy the work app. When I did eb create, it was asking to set up a an environment different than the one I had created in AWS. After creating it, I found that a new project had be created within my personal AWS account.

I was told I have to change profiles doing eb --profile but am not sure of my profile names. How can I list and change my profile from my personal to my work profile?




Aucun commentaire:

Enregistrer un commentaire