Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NetworkInterfaceProperty object does not support attribute Ipv6AddressCount #669

Closed
klingenm opened this issue Feb 23, 2017 · 1 comment
Closed

Comments

@klingenm
Copy link
Contributor

troposphere.ec2.Instance(
            'SomeHost',
            ImageId='ami-0000',
            InstanceType='t2.micro',
            NetworkInterfaces=[NetworkInterfaceProperty(
                DeviceIndex=0,
                SubnetId='subnet-000000',
                AssociatePublicIpAddress=True,
                GroupSet=self.config.DefaultSecurityGroups,
                Ipv6AddressCount=1,
                Ipv6Addresses=[]
            )])

yields

AttributeError: NetworkInterfaceProperty object does not support attribute Ipv6AddressCount
and
AttributeError: NetworkInterfaceProperty object does not support attribute Ipv6Addresses (removing the Ipv6AddressCount argument naturally)

As a list item in troposphere.ec2.Instance argument NetworkInterfaces, NetworkInterfaceProperty should have member Ipv6AddressCount and Ipv6Addresses as documented on
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-network-iface-embedded.html#aws-properties-ec2-network-iface-embedded-ipv6addresscount.

@markpeek
Copy link
Member

Closed via #670.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants