Elasticbeanstalk: Failed to deploy application. Verify the permissions on the environment's service role.

0

I'm having trouble deploying to ElasticBeanstalk, it says:

Deployment completed, but with errors: Failed to deploy application. Failed to check health. Verify the permissions on the environment's service role and try again later. Permissions changes take up to two hours to propagate.

It's not at all clear what to do here.

I can see that the service role is Service role: arn:aws:iam::*:role/aws-elasticbeanstalk-service-role

I can see that the service role exists and appears to be correct.

It's not clear what the actual issue is or how to diagnose it further.

1 回答
0

Hello,

The Service role exists and may be configured, however you also need to verify if the right policies are attached.

Link- https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/AWSHowTo.iam.managed-policies.html -- [1]

profile pictureAWS
支持工程师
已回答 2 年前
  • Thanks, but it's not clear what policies should be attached. That link does not describe anything about health and what is required for that to work, please could you clarify what is needed?

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则