terraform/config/test-fixtures/basic.tf

16 lines
272 B
Terraform
Raw Normal View History

2014-05-23 01:56:28 +02:00
variable "foo" {
default = "bar";
description = "bar";
}
resource "aws_security_group" "firewall" {
}
resource aws_instance "web" {
ami = "${var.foo}"
2014-05-23 01:56:28 +02:00
security_groups = [
"foo",
"${aws_security_group.firewall.foo}"
]
}