github.com/hashicorp/terraform-plugin-sdk@v1.17.2/terraform/testdata/apply-provisioner-destroy-ref-invalid/main.tf (about) 1 resource "aws_instance" "bar" { 2 value = "hello" 3 } 4 5 resource "aws_instance" "foo" { 6 foo = "bar" 7 8 provisioner "shell" { 9 command = aws_instance.bar.does_not_exist 10 when = "destroy" 11 } 12 }