terraform/config/testdata/dir-override/one.tf

23 lines
324 B
Terraform
Raw Normal View History

2014-07-28 19:43:00 +02:00
variable "foo" {
2014-08-05 07:04:48 +02:00
default = "bar"
description = "bar"
2014-07-28 19:43:00 +02:00
}
provider "aws" {
2014-08-05 07:04:48 +02:00
access_key = "foo"
secret_key = "bar"
2014-07-28 19:43:00 +02:00
}
data "do" "simple" {
foo = "baz"
}
2014-07-28 19:43:00 +02:00
resource "aws_instance" "db" {
security_groups = "${aws_security_group.firewall.*.id}"
}
output "web_ip" {
value = "${aws_instance.web.private_ip}"
}