Skip to content

cfn-lint doesn't support GovCloud targeted templates. #3885

Closed
@M66605

Description

Is this feature request related to a new rule or cfn-lint capabilities?

New capability

Describe the feature you'd like to request

cfn-lint doesn't recognize the ARNs for govcloud items as valid.

[cfn-lint] W1031: {'Fn::Sub': 'arn:aws-us-gov:iam::${AWS::AccountId}/managed-by-org/test-policy'} does not match 'arn:(aws[a-zA-Z-]*)?:iam::(\d{12}|aws):policy/[a-zA-Z_0-9+=,.@\-_/]+' when 'Fn::Sub' is resolved

Describe the solution you'd like

Allow cfn-lint to be aware of GovCloud ARNS.

Additional context

No response

Is this something that you'd be interested in working on?

  • 👋 I may be able to implement this feature request

Would this feature include a breaking change?

  • ⚠️ This feature might incur a breaking change

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions