We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cfn-lint 1.16.1
Linux
cfn-lint is not detecting missing Condition operator.
$ cfn-lint --format json --include-checks I -t ./demo-template.yaml [] $
CloudFormation throws the following syntax error:
Resource handler returned message: "Syntax errors in policy. (Service: Iam, Status Code: 400, Request ID: <redacted>)" (RequestToken: <redacted>, HandlerErrorCode: InvalidRequest)
The missing operator should be detected.
--- AWSTemplateFormatVersion: '2010-09-09' Description: Example IAM policy syntax error not detected. Resources: IAMPolicy: Type: AWS::IAM::ManagedPolicy Properties: Roles: - DemoRole PolicyDocument: Version: '2012-10-17' Statement: - Effect: Allow Action: - servicecatalog:* Resource: '*' Condition: servicecatalog:accountLevel: self
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
CloudFormation Lint Version
cfn-lint 1.16.1
What operating system are you using?
Linux
Describe the bug
cfn-lint is not detecting missing Condition operator.
CloudFormation throws the following syntax error:
Expected behavior
The missing operator should be detected.
Reproduction template
The text was updated successfully, but these errors were encountered: