jea*_*frg 2 linux macos installation amazon-web-services aws-cli
我正在尝试使用 awscli 设置一个新的命名配置文件
我曾经aws configure --profile example设置过配置文件,但我将所有内容都保留为默认值
现在我得到 The config profile (example) could not be found
我什至尝试~\.aws\config使用以下内容创建和修改文件但无济于事
[example]
region=eu-west-1
output=text
Run Code Online (Sandbox Code Playgroud)
我尝试执行的任何命令都会导致上述错误
我也尝试重新安装 awscli
非常感谢帮助,谢谢!
Che*_*ian 10
FWIR 如果您保留默认值,则它不会创建配置文件,因为默认值都是NONE.
您的格式对于手动创建配置文件配置不太正确。
它应该是
[profile example]
region=eu-west-1
output=text
Run Code Online (Sandbox Code Playgroud)