github.com/nevins-b/terraform@v0.3.8-0.20170215184714-bbae22007d5a/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  }