puppetlabs-toy-chest / puppetlabs-aws

Puppet module for managing AWS resources to build out infrastructure
Apache License 2.0
188 stars 216 forks source link

ec2_securitygroup => cidr doesn't support IPV6 addresses #483

Open bryankennedy opened 6 years ago

bryankennedy commented 6 years ago

It looks like the parsing for the cidr entry on an ec2_securitygroup call doens't allow for IPV6 addresses.

ec2_securitygroup { 'name':
  ingress => [
    protocol => 'tcp', port => 80, cidr => '::/0', 
  ]
}

Returns an error saying CIDR block ::/0 is malformed

The AWS interface allows this IPV6 value in the CIDR block region.

jcwarp commented 5 years ago

I have this issue too.