Files
opentf/testing/equivalence-tests/outputs/basic_json_string_update/plan
Martin Atkins 15272f8672 plan diff: summarize the current -> planned notation
The human-oriented plan output includes a short summary of the meaning of
all of the different "icons" used to describe different kinds of change,
but nothing was previously describing how OpenTofu uses "->" to describe
the transition between current and planned values for update in-place, "~".

We'll now include a concise note about that as part of the icon summary,
keeping things still relatively compact but nonetheless giving something
to refer to if a reader is unsure about the meaning of this notation.

Signed-off-by: Martin Atkins <mart@degeneration.co.uk>
2025-08-26 11:37:44 -07:00

39 lines
1.4 KiB
Plaintext

tfcoremock_simple_resource.json: Refreshing state... [id=5a3fd9b3-e852-8956-8c0a-255d47eda645]
OpenTofu used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
~ update in-place (current -> planned)
OpenTofu will perform the following actions:
# tfcoremock_simple_resource.json will be updated in-place
~ resource "tfcoremock_simple_resource" "json" {
id = "5a3fd9b3-e852-8956-8c0a-255d47eda645"
~ string = jsonencode(
~ {
~ list-attribute = [
"one",
- "two",
+ "four",
"three",
]
~ object-attribute = {
+ key_four = "value_three"
~ key_three = "value_three" -> "value_two"
- key_two = "value_two"
# (1 unchanged attribute hidden)
}
~ string-attribute = "string" -> "a new string"
}
)
}
Plan: 0 to add, 1 to change, 0 to destroy.
─────────────────────────────────────────────────────────────────────────────
Saved the plan to: equivalence_test_plan
To perform exactly these actions, run the following command to apply:
tofu apply "equivalence_test_plan"