-
Notifications
You must be signed in to change notification settings - Fork 598
New issue
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
WAFv2 error E3002 #1286
Labels
spec
CloudFormation Specification Bug
Comments
Confirmed, run into this myself testing both |
@PatMyron we may have to patch this one. "AWS::WAFv2::RegexPatternSet.RegularExpressionList": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-regexpatternset-regularexpressionlist.html",
"Properties": {
"RegularExpressionList": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-regexpatternset-regularexpressionlist.html#cfn-wafv2-regexpatternset-regularexpressionlist-regularexpressionlist",
"ItemType": "Regex",
"Required": false,
"Type": "List",
"UpdateType": "Mutable"
}
}
} The way the spec is written we would have is something like this. AlbWafRegexPatternSet:
Type: 'AWS::WAFv2::RegexPatternSet'
Properties:
Description: !Sub "${FullEnv}-${AppName} WAF Regex Pattern Set"
Name: !Sub "${FullEnv}-${AppName}-regex-pattern-set"
RegularExpressionList:
RegularExpressionList:
- RegexString: '^.*$'
Scope: 'REGIONAL' |
Looks like we are patching this. I'll try to get that written this weekend and in for a release early next week |
Looks like the documentation matches the spec here too. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
cfn-lint version: (
cfn-lint --version
) 0.26.2Description of issue.
I get an error when running
cfn-lint
against a template with WAFv2 resources. The template provisions the resources in AWS as expected.template snippet:
WAFv2 Cloudformation documentation: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafv2-regexpatternset.html
The text was updated successfully, but these errors were encountered: