github.com/burmuley/terraform@v0.11.12-beta1/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  }