mirror of
https://github.com/opentofu/opentofu.git
synced 2024-12-29 10:21:01 -06:00
6e0908d53f
* Introduce a snapshot check for equivalence tests * New snapshots * Allow overriding plan timestamp for snapshots * Allow setting the seed externally (as an env var) for testing purposes * Remove an equivalence test that depends on a random number
50 lines
2.2 KiB
Plaintext
50 lines
2.2 KiB
Plaintext
tfcoremock_simple_resource.base_after: Refreshing state... [id=e450ef2f-b80f-0cce-8bdb-14d88f48649c]
|
|
tfcoremock_simple_resource.dependent: Refreshing state... [id=2ecc718c-8d04-5774-5c36-7d69bf77d34e]
|
|
|
|
Note: Objects have changed outside of OpenTF
|
|
|
|
OpenTF detected the following changes made outside of OpenTF since the last
|
|
"opentf apply" which may have affected this plan:
|
|
|
|
# tfcoremock_simple_resource.base_after has changed
|
|
# (moved from tfcoremock_simple_resource.base_before)
|
|
~ resource "tfcoremock_simple_resource" "base_after" {
|
|
id = "e450ef2f-b80f-0cce-8bdb-14d88f48649c"
|
|
~ string = "Hello, world!" -> "Hello, drift!"
|
|
}
|
|
|
|
|
|
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.
|
|
|
|
─────────────────────────────────────────────────────────────────────────────
|
|
|
|
OpenTF used the selected providers to generate the following execution plan.
|
|
Resource actions are indicated with the following symbols:
|
|
~ update in-place
|
|
|
|
OpenTF will perform the following actions:
|
|
|
|
# tfcoremock_simple_resource.base_after will be updated in-place
|
|
# (moved from tfcoremock_simple_resource.base_before)
|
|
~ resource "tfcoremock_simple_resource" "base_after" {
|
|
id = "e450ef2f-b80f-0cce-8bdb-14d88f48649c"
|
|
~ string = "Hello, drift!" -> "Hello, change!"
|
|
}
|
|
|
|
# tfcoremock_simple_resource.dependent will be updated in-place
|
|
~ resource "tfcoremock_simple_resource" "dependent" {
|
|
id = "2ecc718c-8d04-5774-5c36-7d69bf77d34e"
|
|
~ 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:
|
|
opentf apply "equivalence_test_plan"
|