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 réponse
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
INGÉNIEUR EN ASSISTANCE TECHNIQUE
répondu il y a 2 ans
  • 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?

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions