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
Continuation of #3683. #3683 fixed the issue when the URI is passed to a resource type of AWS::ApiGateway::Authorizer, but the issue persists when the URI is passed as a parameter for a resource type of AWS::CloudFormation::Stack.
cfn-lint expects the :lambda: segment of the stack API Gateway Lambda authorizer URI parameter 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
10:9: I3042 ARN in Resource Stack contains hardcoded AccountId in ARN or incorrectly placed Pseudo Parameters
Expected behavior
Stack API Gateway Lambda authorizer URI parameter doesn't fail I3042:accountId check
CloudFormation Lint Version
1.15.1
What operating system are you using?
Mac
Describe the bug
Continuation of #3683. #3683 fixed the issue when the URI is passed to a resource type of
AWS::ApiGateway::Authorizer
, but the issue persists when the URI is passed as a parameter for a resource type ofAWS::CloudFormation::Stack
.cfn-lint expects the
:lambda:
segment of the stack API Gateway Lambda authorizer URI parameter to not be a hardcoded account ID, when the:lambda:
segment should be hardcoded tolambda
.Expected behavior
Stack API Gateway Lambda authorizer URI parameter doesn't fail I3042:accountId check
Reproduction template
The text was updated successfully, but these errors were encountered: