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?

gefragt vor 6 Monaten191 Aufrufe
1 Antwort
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
EXPERTE
beantwortet vor 6 Monaten

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