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?

posta 6 mesi fa191 visualizzazioni
1 Risposta
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
ESPERTO
con risposta 6 mesi fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande