How do I create a App Runner instance with security permissions

0

I'm trying to create an App Runner service and the screen won't let me complete the process because it says the "Instance Role" is Required. But it also says the "Instance Role" is optional. And the menu does not display existing instance roles even when one is created and the refresh button is pressed.

Screenshot

Any ideas on how to proceed?

demandé il y a 6 mois191 vues
1 réponse
0

Hello.

In my environment, I was able to start it without setting an instance role.
Doesn't it improve if you refresh the screen and try the deployment settings again?
a

If the issue does not improve, try creating an IAM role with the following trust policy and setting it as the instance role.
https://docs.aws.amazon.com/apprunner/latest/dg/security_iam_service-with-iam.html#security_iam_service-with-iam-roles

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Effect": "Allow",
      "Principal": {
        "Service": "tasks.apprunner.amazonaws.com"
      },
      "Action": "sts:AssumeRole"
    }
  ]
}
profile picture
EXPERT
répondu il y a 6 mois

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