Skip to content
This repository has been archived by the owner on May 1, 2024. It is now read-only.

Validate that inline policy names of an IAM resource are unique #7

Open
jpb opened this issue Jan 18, 2019 · 0 comments
Open

Validate that inline policy names of an IAM resource are unique #7

jpb opened this issue Jan 18, 2019 · 0 comments

Comments

@jpb
Copy link
Contributor

jpb commented Jan 18, 2019

CloudFormation will not produce an error if two inline policies of an IAM Role (or user or group?) are the same. When the resource is created, only one of the policies will be applied to the resource, and which policy that gets applied will not be deterministic. Validate that inline policies of an IAM resource have unique names.

Policies can be attached via the Policies property of a resource or via a separate AWS::IAM::Policy which references the resource.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant