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

Validate that IAM policy Resources are formatted as an ARN #10

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

Validate that IAM policy Resources are formatted as an ARN #10

jpb opened this issue Jan 30, 2019 · 0 comments
Labels
bug Something isn't working missed error Laundry should have caught an error but it didn't

Comments

@jpb
Copy link
Contributor

jpb commented Jan 30, 2019

Malformed ARNs in the IAM Policy Resource property produce the following CloudFormation error:

The policy failed legacy parsing (Service: AmazonIdentityManagement; Status Code: 400; Error Code: MalformedPolicyDocument ...)

Example malformed ARNs:

  • arn:aws:ssm:::session/${aws:username}-*
  • arn:aws:ssm:*:*session/${aws:username}-*

Valid:

  • arn:aws:ssm:*:*:session/${aws:username}-*
@jpb jpb added bug Something isn't working missed error Laundry should have caught an error but it didn't labels Jan 30, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working missed error Laundry should have caught an error but it didn't
Projects
None yet
Development

No branches or pull requests

1 participant