Merge pull request #3281 from egarbi/master

List of security groups should be ID/s not name/s
This commit is contained in:
Clint 2015-09-18 08:48:52 -05:00
commit f8069271c0
1 changed files with 1 additions and 1 deletions

View File

@ -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