Open myoung34 opened 7 years ago
Are the security groups in VPC? If so, Terraforming adds VPC ID as prefix to avoid duplication.
Because I don't have EC2-Classic environments, I can't reproduce the behavior. Is the duplication of Security Group names allowed in EC2-Classic?
They are in VPC, and it does prefix them, but you can still have multiple security groups with the same name in AWS (in a vpc or not), but in TF you cant (vpc_a_foo is still a conflict with vpc_a_foo)
This applies to https://github.com/dtan4/terraforming/issues/312 and to every other situation in which a resource can have a similar value for the Name
tag.
What's the fix @dtan4 ? This bug is over a year ago.
Did this get fixed?
If i have two security groups named
foo
it will generate duplicateaws_security_group.foo
blocks, which cause a non-unique issue in terraform