AWS开发工具包错误:无法获取Amazon S3存储桶名称

use*_*238 7 amazon-s3 amazon-ec2 amazon-web-services

我正在尝试使用我之前创建的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.

Mat*_*man 0

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

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