Skip to content

Switch from AWS::IAM::Policy to AWS::IAM::RolePolicy #624

@mdgm88

Description

@mdgm88

Is your feature request related to a problem? Please describe.

Starting January 30, 2026 if another CloudFormation stack has an AWS::IAM::Policy with the same name there will be an error. Current behaviour is the last stack to create or update the policy will overwrite the policy configuration.

Switching to using AWS::IAM::RolePolicy will avoid errors from a name conflict.

Describe the feature you'd like

Migrate from AWS::IAM::Policy to AWS::IAM::RolePolicy

Additional context

I saw an AWS Health notification suggesting making this change.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions