aws eb cli 3 sets up application for wrong account

坚强是说给别人听的谎言 提交于 2019-11-28 05:56:44

You can set up a new profile to use with the EB CLI. Profiles are shared between the AWS CLI and the EB CLI.

Open up your aws config file: ~/.aws/config and add the following lines:

[profile profilename]
aws_access_key_id = aaaaaa
aws_secret_access_key = aaaaaaaaa123

Then you can call eb init --profile profilename. This will set up the EB CLI to use that specific profile for that specific directory.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!