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
abundant-appointment-96790
09/20/2020, 9:10 PM
The typescript definition expects an array - it won’t compile if you remove the brackets:
for your rule. Unfortunately it seems this is a poor error message from AWS.
a
abundant-appointment-96790
09/21/2020, 4:49 PM
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)
No matter how you like to participate in developer communities, Pulumi wants to meet you there. If you want to meet other Pulumi users to share use-cases and best practices, contribute code or documentation, see us at an event, or just tell a story about something cool you did with Pulumi, you are part of our community.