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
cfn-lint expects the :cloudfront: segment of the CloudFront OAI ARN to not be a hardcoded account ID, when the :cloudfront: segment should be hardcoded to cloudfront.
$ cfn-lint --format pretty --regions us-east-2 --include-checks I --configure-rule E3012:strict=True I3042:region=True I3042:accountId=True -- template.yaml
template.yaml
12:15: I3042 ARN in Resource Resource contains hardcoded AccountId in ARN or incorrectly placed Pseudo Parameters
CloudFormation Lint Version
1.18.4
What operating system are you using?
Mac, Ubuntu
Describe the bug
cfn-lint expects the
:cloudfront:
segment of the CloudFront OAI ARN to not be a hardcoded account ID, when the:cloudfront:
segment should be hardcoded tocloudfront
.Related to #3683, #3716
Expected behavior
CloudFront OAI ARN doesn't fail I3042:accountId check
Reproduction template
The text was updated successfully, but these errors were encountered: