opentofu/terraform/testdata/apply-compute/main.tf
2019-06-30 10:16:15 +02:00

14 lines
217 B
HCL

variable "value" {
default = ""
}
resource "aws_instance" "foo" {
num = "2"
compute = "value"
compute_value = "${var.value}"
}
resource "aws_instance" "bar" {
foo = "${aws_instance.foo.value}"
}