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

IAM Policy Document Resource format #2

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

IAM Policy Document Resource format #2

jpb opened this issue Jan 11, 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 11, 2019

Laundry did not produce an error for:

Example template:

Resources:
  Policy:
    Type: AWS::IAM::Policy
    Properties:
      PolicyName: LoggingRolePolicy
      PolicyDocument:
        Version: 2012-10-17
        Statement:
          - Action:
              - logs:CreateLogGroup
            Effect: Allow
            Resource:
              - some-string

Error from CloudFormation:

Resource ... must be in ARN format or "*".
@jpb jpb added bug Something isn't working missed error Laundry should have caught an error but it didn't labels Jan 11, 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