cloudtools / troposphere

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

Options object does not support attribute Igmpv2Support: Transit Gateway Multicast Domain #2184

Closed cubs818 closed 9 months ago

cubs818 commented 9 months ago

ec2.TransitGatewayMulticastDomain uses ec2.Options for the options fields but they do not include these three options. Confirmed this by adding Igmpv2Support: (str, false) to the Options class and it worked as expected.

Options available... https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-transitgatewaymulticastdomain-options.html#cfn-ec2-transitgatewaymulticastdomain-options-igmpv2support

markpeek commented 9 months ago

There are two Options properties in EC2 and I'll have to add a patch to disambiguate them to get both autogenerated correctly:

Potential property conflict: ec2 Options AWS::EC2::TransitGatewayAttachment.Options: ['ApplianceModeSupport', 'DnsSupport', 'Ipv6Support'] AWS::EC2::TransitGatewayMulticastDomain.Options: ['AutoAcceptSharedAssociations', 'Igmpv2Support', 'StaticSourcesSupport']

markpeek commented 9 months ago

Thank you for the Issue. Fixed via e779387. Renamed to MulticastDomainOptions.