IAM groups should not have inline policies attached

This page is not yet available in Spanish. We are working on its translation.
If you have any questions or feedback about our current translation project, feel free to reach out to us!

Description

IAM policies are rules that define the level of access granted to AWS resources. These policies can either be managed (reusable and centrally administered) or inline (embedded directly into a user, group, or role). It is a best practice to avoid using inline policies for IAM groups and instead attach managed policies. Using managed policies for IAM groups offers better manageability and reduces the complexity of policy administration. It ensures consistency in access management, provides an easier mechanism for policy updates, and simplifies auditing and compliance.

Remediation

From the console

See the Managed policies and inline policies documentation for console remediation steps.