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

13 lines
210 B
HCL

resource "aws_instance" "bar" {
value = "hello"
}
resource "aws_instance" "foo" {
foo = "bar"
provisioner "shell" {
command = "${aws_instance.bar.value}"
when = "destroy"
}
}