github.com/nevins-b/terraform@v0.3.8-0.20170215184714-bbae22007d5a/config/test-fixtures/dir-basic/one.tf (about)

     1  variable "foo" {
     2      default = "bar"
     3      description = "bar"
     4  }
     5  
     6  provider "aws" {
     7    access_key = "foo"
     8    secret_key = "bar"
     9  }
    10  
    11  data "do" "simple" {
    12    foo = "baz"
    13  }
    14  
    15  resource "aws_instance" "db" {
    16      security_groups = "${aws_security_group.firewall.*.id}"
    17  }
    18  
    19  output "web_ip" {
    20      value = "${aws_instance.web.private_ip}"
    21  }