This message was deleted.
# aws
s
This message was deleted.
s
It looks correct, the only thing that would make sense as I ran into similar with ListenerRules and conditions, is the [] indicates an array, remote the brackets and see what the outcome is.
a
The typescript definition expects an array - it won’t compile if you remove the brackets:
Copy code
rules?: pulumi.Input<pulumi.Input<inputs.wafv2.WebAclRule>[]>
g
From my googling, I think you need to set one of
action
or
overrideAction
for your rule. Unfortunately it seems this is a poor error message from AWS.
a
Thank you - AWS UX isn’t known to be the best…! That’s exactly what I needed! I think the Pulumi doc could be improved as well (it wasn’t clear that either parameters was required)
👍 1