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?

feita há 6 meses192 visualizações
1 Resposta
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
ESPECIALISTA
respondido há 6 meses

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas