Trust Policy Principal gets converted to random string

0

I have setup a Trust Policy in my Identity Pool auth role. The trust policy allows a lambda role to assume the role. Everything works fine, but sometimes after doing Amplify push, the Principal in trust policy in the auth role gets converted to this random string and looks like this. It is supposed to be arn of the lambda role.

{ "Sid": "Statement1", "Effect": "Allow", "Principal": { "AWS": "AROAVK34QRIAIG3JRODO3" }, "Action": "sts:AssumeRole" }

1回答
0
承認された回答

Take a look at the section titled, "What happens when a role in a trust policy is deleted". How to use trust policies with IAM roles.

profile pictureAWS
エキスパート
kentrad
回答済み 1年前
profile picture
エキスパート
レビュー済み 1年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ