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
posta un anno fa1206 visualizzazioni
1 Risposta
0
Risposta accettata

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
ESPERTO
kentrad
con risposta un anno fa
profile picture
ESPERTO
verificato un anno fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande