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 :lambda: segment of the API Gateway Lambda authorizer URI to not be a hardcoded account ID, when the :lambda: segment should be hardcoded to lambda.
$ 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
6:7: I3042 ARN in Resource Resource contains hardcoded AccountId in ARN or incorrectly placed Pseudo Parameters
Expected behavior
API Gateway Lambda authorizer URI doesn't fail I3042:accountId check
CloudFormation Lint Version
1.12.4
What operating system are you using?
Mac/Ubuntu
Describe the bug
cfn-lint expects the
:lambda:
segment of the API Gateway Lambda authorizer URI to not be a hardcoded account ID, when the:lambda:
segment should be hardcoded tolambda
.Expected behavior
API Gateway Lambda authorizer URI doesn't fail I3042:accountId check
Reproduction template
The text was updated successfully, but these errors were encountered: