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" }

sarin
gefragt vor einem Jahr1204 Aufrufe
1 Antwort
0
Akzeptierte Antwort

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
EXPERTE
kentrad
beantwortet vor einem Jahr
profile picture
EXPERTE
überprüft vor einem Jahr

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