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 incorrectly issues E1011 (FindInMap validation of configuration) with !Sub referencing AWS::AccountId.
$ 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
16:11: E1011 '123456789012AccountBucketName' is not one of ['234567890123AccountBucketName'] for mapping 'BucketMap' and key 'BucketGroup'
Cfn-lint scanned 1 templates against 234 rules and found 1 errors, 0 warnings, and 0 informational violations
CloudFormation Lint Version
1.20.1
What operating system are you using?
Mac
Describe the bug
cfn-lint incorrectly issues
E1011
(FindInMap
validation of configuration) with!Sub
referencingAWS::AccountId
.Expected behavior
E1011
is not issued for the reproduction templateReproduction template
The text was updated successfully, but these errors were encountered: