terraform/config/testdata/validate-depends-on-var/main.tf

8 lines
108 B
Terraform
Raw Normal View History

variable "foo" {
description = "bar"
}
resource aws_instance "web" {
depends_on = ["${var.foo}"]
}