question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

aws-wafv2: Not able to provision IPSetReferenceStatement in CfnRuleGroup

See original GitHub issue

What 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:closed
  • Created 2 years ago
  • Reactions:2
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
peterwoodworthcommented, Dec 6, 2021

I’ve seen this error before and I was unable to reproduce it. I’ll give it another go

0reactions
github-actions[bot]commented, Dec 21, 2021

⚠️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.

Read more comments on GitHub >

github_iconTop Results From Across the Web

AWS::WAFv2::RuleGroup IPSetReferenceStatement
A rule statement used to detect web requests coming from particular IP addresses or address ranges. To use this, create an AWS::WAFv2::IPSet that...
Read more >
update-ip-set — AWS CLI 2.9.6 Command Reference
You cannot change the name of an IPSet after you create it. ... It is not possible to pass arbitrary binary values using...
Read more >
aws.wafv2.RuleGroup | Pulumi
Try the new Preview AWS Native if you need AWS resources not available in the ... RuleGroup("example", new() { Capacity = 2, Rules...
Read more >
aws_wafv2_web_acl | Resources | hashicorp/aws
Duplicate header names are not allowed: ... IP Set Reference Statement ... AWS WAFv2 inspects up to the first 8192 bytes (8 KB)...
Read more >
.NET Hardware Purchases for FY22 (tail) - Dotnet/Arcade - IssueHint
aws-wafv2 : Not able to provision IPSetReferenceStatement in CfnRuleGroup, 5, 2021-12-06, 2022-10-23. RUSTSEC-2020-0016: `net2` crate has been deprecated; ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found