terraform/config/test-fixtures/validate-depends-on-var/main.tf

8 lines
108 B
HCL

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