github.com/nicgrayson/terraform@v0.4.3-0.20150415203910-c4de50829380/config/test-fixtures/dir-override/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 }