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

IAM Policy Document Resource format #2

@jpb

Description

@jpb

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 "*".

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingmissed errorLaundry should have caught an error but it didn't

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions