aws-wafv2: Not able to provision IPSetReferenceStatement in CfnRuleGroup
See original GitHub issueWhat is the problem?
When ever i try to provision a IPSetReferenceStatement in CfnRuleGroup and i just enter a Arn for the IPSet the following error message occur:
Resource handler returned message: "Error reason: You have used none or multiple values for a field that requires exactly one value., field: STATEMENT, parameter: Statement (Service: Wafv2, Status Code: 400, Request ID: f87bda08-81fc-447a-a44a-20245a1bebab, Extended Request ID: null)" (RequestToken: 1d533c05-6c13-09b3-63c8-2715db81cace, HandlerErrorCode: InvalidRequest) [cdkdeploy] new PlattformWafv2CdkAutomationStack (/Users/davidkrohn/Documents/git/Clients/*/plattform-wafv2-cdk-automation/lib/plattform-wafv2-cdk-automation-stack.ts:251:27) [cdkdeploy] \_ /Users/davidkrohn/Documents/git/Clients/*/plattform-wafv2-cdk-automation/bin/plattform-wafv2-cdk-automation.ts:208:5 [cdkdeploy] \_ processTicksAndRejections (internal/process/task_queues.js:95:5)
Reproduction Steps
Create a IPSetReferenceStatement in CfnRuleGroup and just enter Arn as Parameter
What did you expect to happen?
IPSetReferenceStatement will be created
What actually happened?
An empty Statement will occur in the cfn template
CDK CLI Version
1.124.0
Framework Version
No response
Node.js Version
v14.17.6
OS
macOS 12.0.1 (21A559)
Language
Typescript
Language Version
No response
Other information
No response
Issue Analytics
- State:
- Created 2 years ago
- Reactions:2
- Comments:5 (2 by maintainers)
Top GitHub Comments
I’ve seen this error before and I was unable to reproduce it. I’ll give it another go
⚠️COMMENT VISIBILITY WARNING⚠️
Comments on closed issues are hard for our team to see. If you need more assistance, please either tag a team member or open a new issue that references this one. If you wish to keep having a conversation with other community members under this issue feel free to do so.