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 Answer
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
SUPPORT ENGINEER
answered 2 years ago
  • 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?

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions