Files
opentf/testing/equivalence-tests/outputs/drift_relevant_attributes/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

50 lines
2.2 KiB
Plaintext

tfcoremock_simple_resource.base: Refreshing state... [id=f6f74ca6-e8ef-e51f-522c-433b9ed5038f]
tfcoremock_simple_resource.dependent: Refreshing state... [id=1b17b502-96c9-fcc3-3b09-2af1c3de6ad8]
Note: Objects have changed outside of OpenTofu
OpenTofu detected the following changes made outside of OpenTofu since the
last "tofu apply" which may have affected this plan:
# tfcoremock_simple_resource.base has changed
~ resource "tfcoremock_simple_resource" "base" {
id = "f6f74ca6-e8ef-e51f-522c-433b9ed5038f"
~ string = "Hello, world!" -> "Hello, drift!"
# (1 unchanged attribute hidden)
}
Unless you have made equivalent changes to your configuration, or ignored the
relevant attributes using ignore_changes, the following plan may include
actions to undo or respond to these changes.
─────────────────────────────────────────────────────────────────────────────
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.base will be updated in-place
~ resource "tfcoremock_simple_resource" "base" {
id = "f6f74ca6-e8ef-e51f-522c-433b9ed5038f"
~ number = 1 -> 0
~ string = "Hello, drift!" -> "Hello, change!"
}
# tfcoremock_simple_resource.dependent will be updated in-place
~ resource "tfcoremock_simple_resource" "dependent" {
id = "1b17b502-96c9-fcc3-3b09-2af1c3de6ad8"
~ string = "Hello, world!" -> "Hello, change!"
}
Plan: 0 to add, 2 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"