terraform/config/testdata/validate-basic-provisioners/main.tf

15 lines
251 B
HCL

resource "aws_instance" "web" {
provisioner "shell" {}
provisioner "shell" {
path = "foo"
when = "destroy"
}
provisioner "shell" {
path = "foo"
when = "destroy"
on_failure = "continue"
}
}