cloudtools / troposphere

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

Validation should only report CidrBlock as missing from VPC object when IPAM properties haven't been supplied #2042

Closed Weldoret closed 2 years ago

Weldoret commented 2 years ago

Now that AWS has released IPAM, the CidrBlock property is no longer required on VPC objects if IPAM properties (Ipv4IpamPoolId and Ipv4NetmaskLength) are supplied instead. Validation should reflect this change.

Similar to this issue in cfn-lint.

markpeek commented 2 years ago

Fixed via 9d73ae9f73f9b6ca884e1112c93857360b6f3270