Decide who may assume the role
Your build jobs run outside AWS, so no role is attached and the credential chain finds nothing to pick up. Instead the CI platform signs a short-lived OIDC token naming the repository the job ran in, and STS trades that token for temporary credentials.
Whether the trade succeeds is decided by the trust policy: the rule written on reports-deploy-role in advance, saying who may assume it. Four build jobs are presenting tokens this morning.
Open the Trust policy console and require the issuer on its own, then run the four jobs. Three come back with credentials. Add the repository condition and run them again.
What does the issuer-only run tell you?
この演習はコースの一部です
