terraform/internal/command/testdata/validate-invalid/interpolation/main.tf

12 lines
228 B
Terraform
Raw Normal View History

2015-11-05 15:47:08 +01:00
variable "otherresourcename" {
default = "aws_instance.web1"
}
variable "vairable_with_interpolation" {
default = "${var.otherresourcename}"
}
resource "aws_instance" "web" {
depends_on = ["${var.otherresourcename}}"]
}