From 9cf790ce6a756040172a42daf8515009f16b7a3b Mon Sep 17 00:00:00 2001 From: Felix <90956507+cloudwithfelix@users.noreply.github.com> Date: Sun, 28 Apr 2024 08:56:04 +0200 Subject: [PATCH] Wrong reference I think line 249 is meaning to reference to the "when" functionality, not the "on_failure" functionality. --- website/docs/language/resources/provisioners/syntax.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/docs/language/resources/provisioners/syntax.mdx b/website/docs/language/resources/provisioners/syntax.mdx index 69f8c422fa..35923611fe 100644 --- a/website/docs/language/resources/provisioners/syntax.mdx +++ b/website/docs/language/resources/provisioners/syntax.mdx @@ -246,7 +246,7 @@ can leave a resource in a semi-configured state. Because Terraform cannot reason about what the provisioner does, the only way to ensure proper creation of a resource is to recreate it. This is tainting. -You can change this behavior by setting the `on_failure` attribute, +You can change this behavior by setting the `when` attribute, which is covered in detail below. ## Destroy-Time Provisioners