Update website/docs/language/resources/provisioners/syntax.mdx

Co-authored-by: Rose M Koron <32436232+rkoron007@users.noreply.github.com>
pull/36666/head
Craig Wright 1 year ago committed by GitHub
parent 66de90a018
commit a769fccd82
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -282,7 +282,7 @@ fail, Terraform will error and rerun the provisioners again on the next
`terraform apply`. Due to this behavior, care should be taken for destroy
provisioners to be safe to run multiple times.
~> **Note**: Destroy provisioners of this resource do not run if `create_before_destroy` is set to `true`.
~> **Note**: A resource's destroy-time provisioners do not run if you enable [`create_before_destroy`](/terraform/language/meta-arguments/lifecycle#syntax-and-arguments) on that resource.
Destroy-time provisioners can only run if they remain in the configuration
at the time a resource is destroyed. If a resource block with a destroy-time

Loading…
Cancel
Save