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