github.com/ezbercih/terraform@v0.1.1-0.20140729011846-3c33865e0839/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  resource "aws_instance" "db" {
    12      security_groups = "${aws_security_group.firewall.*.id}"
    13  }
    14  
    15  output "web_ip" {
    16      value = "${aws_instance.web.private_ip}"
    17  }