【发布时间】:2016-01-15 23:46:39
【问题描述】:
我有 RoR 应用程序,在使用 AWS eb 命令行时,我尝试创建 ElasticBeanstalk 应用程序,它要求我提供 --service-role 标志
我给他存在的 IAM 角色:例如具有管理员权限的管理员或 aws-elasticbeanstalk-ec2-role
所以我写eb create --service-role aws-elasticbeanstalk-ec2-role
它开始部署,但一段时间后它会将运行状况转变为警告,原因是:
Unable to assume role "arn:aws:iam::xxxxxxxxxx:role/aws-elasticbeanstalk-ec2-role". Verify that the role exists and is configured correctly.
这就是我的部署失败的原因。
有什么建议吗?
谢谢
【问题讨论】:
标签: ruby-on-rails amazon-web-services amazon-ec2 amazon-elastic-beanstalk