[英]AWS CLI: The config profile (example) could not be found
I'm trying to setup an new named profile using the awscli 我正在尝试使用awscli设置新的命名配置文件
I used aws configure --profile example
to set the profile up but I left everything as the default 我使用
aws configure --profile example
设置了配置文件,但我将所有内容保留为默认设置
Now I'm getting The config profile (example) could not be found
现在我得到
The config profile (example) could not be found
I even tried creating and modifying the ~\\.aws\\config
file with the following but to no avail 我什至尝试使用以下方法创建和修改
~\\.aws\\config
文件,但无济于事
[example]
region=eu-west-1
output=text
Any command I try to execute will result in the above error 我尝试执行的任何命令都会导致上述错误
I also tried reinstalling the awscli 我也尝试过重新安装awscli
Help is much appreciated, thanks! 非常感谢您的帮助,谢谢!
FWIR if you leave the defaults then it won't create the profile since the defaults are all NONE
. FWIR如果您保留默认值,则将不会创建配置文件,因为默认值均为
NONE
。
Your format is not quite correct for creating the profile configuration manually. 您的格式不太适合手动创建配置文件配置。
It should be 它应该是
[profile example]
region=eu-west-1
output=text
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.