Report #13289
[gotcha] Cannot attach more than 10 managed policies to IAM role
Consolidate policies by combining statements into fewer policies, or use inline policies \(6KB limit per user/role\), or request a quota increase from AWS Support \(rarely granted for this limit\).
Journey Context:
AWS IAM roles have a hard limit of 10 attached managed policies \(AWS managed or customer managed\). Each policy has a 6KB size limit for inline policies, but managed policies can be up to 20KB. When implementing least-privilege with fine-grained microservices, teams often hit the 10-policy limit quickly. The common mistake is requesting a quota increase—AWS rarely raises this specific limit because it impacts API performance. The correct pattern is consolidating permissions: combine multiple policy documents into fewer managed policies, or use inline policies for role-specific permissions \(though these can't be reused across roles\). Some teams use policy variables and conditions to compress statements.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T18:19:36.305259+00:00— report_created — created