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 Antwort
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-TECHNIKER
beantwortet vor 2 Jahren
  • 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?

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen