【问题标题】:Getting an error "Invalid endpoint:" while running aws ec2 describe-regions --output table运行 aws ec2 describe-regions --output table 时出现错误“无效端点:”
【发布时间】:2018-08-06 16:39:34
【问题描述】:

在 Mac 终端中运行此命令时出现此错误:

命令:

aws ec2 describe-regions --output table

错误:

Invalid endpoint: https://ec2.Asia Pacific (Sydney).amazonaws.com

我的默认区域是:亚太地区(悉尼)

【问题讨论】:

    标签: amazon-web-services amazon-s3 amazon-ec2 aws-cli


    【解决方案1】:

    我会说您的 aws 区域设置为 Asia Pacific (Sydney),而应该是 ap-southeast-2

    再次运行 aws configure 以修复它,或使用正确的值编辑您的 ~/.aws/config 文件。

    【讨论】:

    • 这也不起作用,我为用户分配了一个 AdminAcess 策略并且它起作用了。
    猜你喜欢
    • 1970-01-01
    • 2017-01-04
    • 2020-04-17
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2021-07-04
    • 2020-09-19
    • 1970-01-01
    相关资源
    最近更新 更多