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?

已提問 6 個月前檢視次數 192 次
1 個回答
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
專家
已回答 6 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南