ACL Rules property output (and typescript linting) incorrect #6077
Labels
@aws-cdk/aws-waf
Related to AWS Web Application Firewall
bug
This issue is a bug.
needs-triage
This issue or PR still needs to be triaged.
When creating a CfnWebACL from @aws-cdk/aws-wafv2 the output is incorrect and results in an Internal Failure when trying to run
cdk deploy
Reproduction Steps
The typedef of
CfnWebACL
has a "rules" property, which is an object containing another "rules" property, which is an array of actual rules.When running cdk , it outputs a similar wrapper which causes an internal failure on cloudformation
Error Log
Environment
Other
By manually removing the object wrapper from the cdk.output file
from
to
I'm able to use the cdk.output file in the cloudformation console to create the stack.
This is 🐛 Bug Report
The text was updated successfully, but these errors were encountered: