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

14 lines
239 B
HCL

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