Merge pull request #3281 from egarbi/master
List of security groups should be ID/s not name/s
This commit is contained in:
commit
f8069271c0
|
@ -16,7 +16,7 @@ Provides an Elastic network interface (ENI) resource.
|
|||
resource "aws_network_interface" "test" {
|
||||
subnet_id = "${aws_subnet.public_a.id}"
|
||||
private_ips = ["10.0.0.50"]
|
||||
security_groups = ["${aws_security_group.web.name}"]
|
||||
security_groups = ["${aws_security_group.web.id}"]
|
||||
attachment {
|
||||
instance = "${aws_instance.test.id}"
|
||||
device_index = 1
|
||||
|
|
Loading…
Reference in New Issue