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
E3601
StringMatches
cfn-lint 1.14.2
Windows 11
cfn-lint is unable to find "StringMatches" for "Choices". It gives the following error:
[cfn-lint] E3601: Only one of [ "And", "BooleanEquals", "BooleanEqualsPath", "IsBoolean", "IsNull", "IsNumeric", "IsPresent", "IsString", "IsTimestamp", "Not", "NumericEquals", "NumericEqualsPath", "NumericGreaterThan", "NumericGreaterThanPath", "NumericGreaterThanEquals", "NumericGreaterThanEqualsPath", "NumericLessThan", "NumericLessThanPath", "NumericLessThanEquals", "NumericLessThanEqualsPath", "Or", "StringEquals", "StringEqualsPath", "StringGreaterThan", "StringGreaterThanPath", "StringGreaterThanEquals", "StringGreaterThanEqualsPath", "StringLessThan", "StringLessThanPath", "StringLessThanEquals", "StringLessThanEqualsPath", "TimestampEquals", "TimestampEqualsPath", "TimestampGreaterThan", "TimestampGreaterThanPath", "TimestampGreaterThanEquals", "TimestampGreaterThanEqualsPath", "TimestampLessThan", "TimestampLessThanPath", "TimestampLessThanEquals", "TimestampLessThanEqualsPath", ] is a required property
cfn-lint allows the use of StringMatches
AWSTemplateFormatVersion: 2010-09-09 Description: Test Resources: StateMachine: Type: AWS::StepFunctions::StateMachine Properties: RoleArn: !GetAtt StepFunctionRole.Arn Definition: StartAt: Choice Test States: Choice Test: Type: Choice Choices: - Variable: $ StringMatches: Test Next: Failed Default: Successful Successful: Type: Succeed Failed: Type: Fail
The text was updated successfully, but these errors were encountered:
Just wanted to note that i am able to deploy the CloudFormation Stack using StringMatches
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
CloudFormation Lint Version
cfn-lint 1.14.2
What operating system are you using?
Windows 11
Describe the bug
cfn-lint is unable to find "StringMatches" for "Choices". It gives the following error:
Expected behavior
cfn-lint allows the use of
StringMatches
Reproduction template
The text was updated successfully, but these errors were encountered: