You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is this feature request related to a new rule or cfn-lint capabilities?
No response
Describe the feature you'd like to request
When working with code that needs to be deployed in both commercial and gov, it is imperative to use the pseudo parameter for AWS::Partition, for instance. There is currently a rule that sort of touches on this:
Is this feature request related to a new rule or cfn-lint capabilities?
No response
Describe the feature you'd like to request
When working with code that needs to be deployed in both commercial and gov, it is imperative to use the pseudo parameter for AWS::Partition, for instance. There is currently a rule that sort of touches on this:
Rule: I3042
https://github.com/aws-cloudformation/cfn-lint/blob/main/src/cfnlint/rules/resources/HardCodedArnProperties.py
However, this only looks at those that are prefixed with !Sub . See: https://github.com/aws-cloudformation/cfn-lint/blob/main/src/cfnlint/rules/resources/HardCodedArnProperties.py#L58
This feature would allow to detect any hardcodings, not just those prefixed by !Sub.
Describe the solution you'd like
Could be an additional configuration or flag for this rule to look in all resource arns and not just those prefixed with !Sub
Additional context
No response
Is this something that you'd be interested in working on?
Would this feature include a breaking change?
The text was updated successfully, but these errors were encountered: