From ccb55967428ab2aa0b12fde8b4da050d2b404a6e Mon Sep 17 00:00:00 2001 From: kmoe <5575356+kmoe@users.noreply.github.com> Date: Fri, 17 Nov 2023 18:25:27 +0000 Subject: [PATCH] website: add "importing" to json plan format docs (#34269) --- website/docs/internals/json-format.mdx | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/website/docs/internals/json-format.mdx b/website/docs/internals/json-format.mdx index d4c95041b5..49268241e2 100644 --- a/website/docs/internals/json-format.mdx +++ b/website/docs/internals/json-format.mdx @@ -182,7 +182,7 @@ For ease of consumption by callers, the plan representation includes a partial r // // If there is no special reason to note, Terraform will omit this // property altogether. - action_reason: "replace_because_tainted" + "action_reason": "replace_because_tainted" } ], @@ -610,7 +610,14 @@ A `` describes the change to the indicated object. // replacement (for example, if the resource was tainted). Each path // consists of one or more steps, each of which will be a number or a // string. - "replace_paths": [["triggers"]] + "replace_paths": [["triggers"]], + + // "importing" is present only when the object is being imported as part + // of this change. + "importing": { + // "id" is the import ID of the object being imported. + "id": "foo" + } } ```