Report #11031
[gotcha] AccessDenied immediately after IAM role or policy creation
Implement exponential backoff retry \(up to 60s\) when assuming new roles or calling services immediately after IAM changes; or decouple provisioning from usage with a delay.
Journey Context:
Code fails with AccessDenied despite correct IAM policies because IAM uses an eventually consistent global data store. Changes can take up to 60 seconds to propagate across all regions and edge locations. Engineers often retry immediately or assume the policy is wrong. The correct approach is to retry with exponential backoff or separate the infrastructure deployment from the workload deployment by 60\+ seconds.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T12:18:49.765998+00:00— report_created — created