github.com/nevins-b/terraform@v0.3.8-0.20170215184714-bbae22007d5a/command/test-fixtures/validate-invalid/interpolation/main.tf (about)

     1  variable "otherresourcename" {
     2    default = "aws_instance.web1"
     3  }
     4  
     5  variable "vairable_with_interpolation" {
     6    default = "${var.otherresourcename}"
     7  }
     8  
     9  resource "aws_instance" "web" {
    10    depends_on = ["${var.otherresourcename}}"]
    11  }