puppetlabs-toy-chest / puppetlabs-aws

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

Can't reference security groups from peered VPCs #510

Open philomory opened 6 years ago

philomory commented 6 years ago

When setting up ingress rules with ec2_securitygroup, the module can't handle ingress rules that refer to security groups in peered VPCs; this is because when it tries to do the mapping between security group names and security group ids, it always only looks in the current VPC for matches. That doesn't conform to AWS's own behavior though, AWS allows you to reference security groups from other peered VPCs in the same region, and has for more than two years.

gregohardy commented 6 years ago

Raising a ticket for this.

philomory commented 5 years ago

@gregohardy Is this a ticket I should be able to see? I checked tickets.puppetlabs.com and wasn't able to find it.

daveseff commented 5 years ago

I added this recently in my own branch. I may be able to do a quick PR