cloudtools / troposphere

troposphere - Python library to create AWS CloudFormation descriptions
BSD 2-Clause "Simplified" License
4.93k stars 1.45k forks source link

New wafv2 implementation blocks >2 And/Or Statements #2031

Closed splunkbot9000 closed 2 years ago

splunkbot9000 commented 2 years ago

It seems that in 4.0.0 we can now only declare two statements in an AndStatement or OrStatement Statements list. Is this intended? Our implementation uses 2, 3 or sometimes more statements in some AndStatement's and OrStatement's.

Can https://github.com/cloudtools/troposphere/blob/main/troposphere/validators/wafv2.py#L32 be changed to <= 1 instead?

markpeek commented 2 years ago

Thank you for the issue. I meant to do a release over the weekend to resolve this issue. I'll get one out this afternoon. Dup of #2026 and will be fixed via #2027.

markpeek commented 2 years ago

Fixed in Release 4.0.1