terraform/config/test-fixtures/dir-override/one.tf

18 lines
306 B
Terraform
Raw Normal View History

2014-07-21 02:52:46 +02:00
variable "foo" {
default = "bar";
description = "bar";
}
provider "aws" {
access_key = "foo";
secret_key = "bar";
}
resource "aws_instance" "db" {
security_groups = "${aws_security_group.firewall.*.id}"
}
output "web_ip" {
value = "${aws_instance.web.private_ip}"
}