【问题标题】:AWS SDK Error: Failed to get the Amazon S3 bucket nameAWS 开发工具包错误:无法获取 Amazon S3 存储桶名称
【发布时间】:2014-09-20 20:46:22
【问题描述】:

我正在尝试使用我之前创建的 Elastic Beanstalk 实例设置 AWS。我已经在配置文件中输入了各种详细信息,但是当我尝试使用 aws.push 时,我收到了错误消息

Updating the AWS Elastic Beanstalk environment x-xxxxxx... Error: Failed to get the Amazon S3 bucket name

我已检查 IAM 中的凭据并拥有完整的管理员权限。当我运行 eb status show green 时,我收到以下消息:

InvalidClientTokenId. The security token included in the request is invalid.

【问题讨论】:

  • 我知道这是 11 个月大。你想通了吗?您的 AWS 凭证是否正确?

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


【解决方案1】:

再次运行aws configure,然后重新输入您的凭据。

您可能正在使用旧的(禁用或删除的)访问/密钥,或者您不小心将访问密钥与密钥交换了。

【讨论】:

    【解决方案2】:

    对我来说是我的系统时钟关闭了超过 5 分钟。更新时间解决了这个问题。

    【讨论】:

      猜你喜欢
      • 2018-09-07
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2020-07-16
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2015-06-01
      相关资源
      最近更新 更多