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

12 lines
228 B
HCL

variable "otherresourcename" {
default = "aws_instance.web1"
}
variable "vairable_with_interpolation" {
default = "${var.otherresourcename}"
}
resource "aws_instance" "web" {
depends_on = ["${var.otherresourcename}}"]
}