github.com/turtlemonvh/terraform@v0.6.9-0.20151204001754-8e40b6b855e8/config/test-fixtures/dir-basic/two.tf (about) 1 provider "do" { 2 api_key = "${var.foo}" 3 } 4 5 resource "aws_security_group" "firewall" { 6 count = 5 7 } 8 9 resource aws_instance "web" { 10 ami = "${var.foo}" 11 security_groups = [ 12 "foo", 13 "${aws_security_group.firewall.foo}" 14 ] 15 16 network_interface { 17 device_index = 0 18 description = "Main network interface" 19 } 20 }