github.com/keshavdv/terraform@v0.7.0-rc2.0.20160711232630-d69256dcb425/config/test-fixtures/validate-depends-on-var/main.tf (about)

     1  variable "foo" {
     2      description = "bar"
     3  }
     4  
     5  resource aws_instance "web" {
     6      depends_on = ["${var.foo}"]
     7  }