github.com/recobe182/terraform@v0.8.5-0.20170117231232-49ab22a935b7/config/test-fixtures/dir-override/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  
    12  data "do" "simple" {
    13    foo = "baz"
    14  }
    15  
    16  resource "aws_instance" "db" {
    17      security_groups = "${aws_security_group.firewall.*.id}"
    18  }
    19  
    20  output "web_ip" {
    21      value = "${aws_instance.web.private_ip}"
    22  }