github.com/medzin/terraform@v0.11.11/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  }