rename OpenTofu testing folder (#532)

This commit is contained in:
Elbaz 2023-09-21 18:15:32 +03:00 committed by GitHub
parent 8fa276e5f5
commit 621bd071a7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
71 changed files with 225 additions and 225 deletions

View File

@ -49,7 +49,7 @@ func (c *Change) MaybeWriteConfig(writer io.Writer, out string) (io.Writer, bool
diags = diags.Append(tfdiags.Sourceless(
tfdiags.Error,
"Failed to create target generated file",
fmt.Sprintf("OpenTofu could not create the generated file (%s) in the target directory: %v. Depending on the error message, this may be a bug in OpenTF itself. If so, please report it!", out, err)))
fmt.Sprintf("OpenTofu could not create the generated file (%s) in the target directory: %v. Depending on the error message, this may be a bug in OpenTofu itself. If so, please report it!", out, err)))
return nil, false, diags
} else {
writer = w
@ -70,7 +70,7 @@ func (c *Change) MaybeWriteConfig(writer io.Writer, out string) (io.Writer, bool
diags = diags.Append(tfdiags.Sourceless(
tfdiags.Warning,
"Failed to save generated config",
fmt.Sprintf("OpenTofu encountered an error while writing generated config: %v. The config for %s must be created manually before applying. Depending on the error message, this may be a bug in OpenTF itself. If so, please report it!", err, c.Addr)))
fmt.Sprintf("OpenTofu encountered an error while writing generated config: %v. The config for %s must be created manually before applying. Depending on the error message, this may be a bug in OpenTofu itself. If so, please report it!", err, c.Addr)))
}
wroteConfig = true
}

View File

@ -412,7 +412,7 @@ func (p *Provider) ImportState(
return nil, fmt.Errorf(
"nil entry in ImportState results. This is always a bug with\n" +
"the resource that is being imported. Please report this as\n" +
"a bug to OpenTF.")
"a bug to OpenTofu.")
}
}

View File

@ -1,10 +1,10 @@
tfcoremock_simple_resource.json: Refreshing state... [id=5a3fd9b3-e852-8956-8c0a-255d47eda645]
OpenTF used the selected providers to generate the following execution plan.
Resource actions are indicated with the following symbols:
OpenTofu 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:
OpenTofu will perform the following actions:
# tfcoremock_simple_resource.json will be updated in-place
~ resource "tfcoremock_simple_resource" "json" {
@ -35,4 +35,4 @@ 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:
opentf apply "equivalence_test_plan"
tofu apply "equivalence_test_plan"

View File

@ -1,9 +1,9 @@
OpenTF used the selected providers to generate the following execution plan.
Resource actions are indicated with the following symbols:
OpenTofu used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
+ create
OpenTF will perform the following actions:
OpenTofu will perform the following actions:
# tfcoremock_list.list will be created
+ resource "tfcoremock_list" "list" {
@ -22,4 +22,4 @@ Plan: 1 to add, 0 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"
tofu apply "equivalence_test_plan"

View File

@ -1,10 +1,10 @@
tfcoremock_list.list: Refreshing state... [id=985820B3-ACF9-4F00-94AD-F81C5EA33663]
OpenTF used the selected providers to generate the following execution plan.
Resource actions are indicated with the following symbols:
OpenTofu 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:
OpenTofu will perform the following actions:
# tfcoremock_list.list will be updated in-place
~ resource "tfcoremock_list" "list" {
@ -23,4 +23,4 @@ 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:
opentf apply "equivalence_test_plan"
tofu apply "equivalence_test_plan"

View File

@ -1,10 +1,10 @@
tfcoremock_list.list: Refreshing state... [id=985820B3-ACF9-4F00-94AD-F81C5EA33663]
OpenTF used the selected providers to generate the following execution plan.
Resource actions are indicated with the following symbols:
OpenTofu 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:
OpenTofu will perform the following actions:
# tfcoremock_list.list will be updated in-place
~ resource "tfcoremock_list" "list" {
@ -23,4 +23,4 @@ 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:
opentf apply "equivalence_test_plan"
tofu apply "equivalence_test_plan"

View File

@ -1,10 +1,10 @@
tfcoremock_list.list: Refreshing state... [id=985820B3-ACF9-4F00-94AD-F81C5EA33663]
OpenTF used the selected providers to generate the following execution plan.
Resource actions are indicated with the following symbols:
OpenTofu 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:
OpenTofu will perform the following actions:
# tfcoremock_list.list will be updated in-place
~ resource "tfcoremock_list" "list" {
@ -24,4 +24,4 @@ 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:
opentf apply "equivalence_test_plan"
tofu apply "equivalence_test_plan"

View File

@ -1,9 +1,9 @@
OpenTF used the selected providers to generate the following execution plan.
Resource actions are indicated with the following symbols:
OpenTofu used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
+ create
OpenTF will perform the following actions:
OpenTofu will perform the following actions:
# tfcoremock_map.map will be created
+ resource "tfcoremock_map" "map" {
@ -22,4 +22,4 @@ Plan: 1 to add, 0 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"
tofu apply "equivalence_test_plan"

View File

@ -1,10 +1,10 @@
tfcoremock_map.map: Refreshing state... [id=50E1A46E-E64A-4C1F-881C-BA85A5440964]
OpenTF used the selected providers to generate the following execution plan.
Resource actions are indicated with the following symbols:
OpenTofu 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:
OpenTofu will perform the following actions:
# tfcoremock_map.map will be updated in-place
~ resource "tfcoremock_map" "map" {
@ -23,4 +23,4 @@ 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:
opentf apply "equivalence_test_plan"
tofu apply "equivalence_test_plan"

View File

@ -1,10 +1,10 @@
tfcoremock_map.map: Refreshing state... [id=50E1A46E-E64A-4C1F-881C-BA85A5440964]
OpenTF used the selected providers to generate the following execution plan.
Resource actions are indicated with the following symbols:
OpenTofu 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:
OpenTofu will perform the following actions:
# tfcoremock_map.map will be updated in-place
~ resource "tfcoremock_map" "map" {
@ -23,4 +23,4 @@ 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:
opentf apply "equivalence_test_plan"
tofu apply "equivalence_test_plan"

View File

@ -1,10 +1,10 @@
tfcoremock_map.map: Refreshing state... [id=50E1A46E-E64A-4C1F-881C-BA85A5440964]
OpenTF used the selected providers to generate the following execution plan.
Resource actions are indicated with the following symbols:
OpenTofu 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:
OpenTofu will perform the following actions:
# tfcoremock_map.map will be updated in-place
~ resource "tfcoremock_map" "map" {
@ -23,4 +23,4 @@ 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:
opentf apply "equivalence_test_plan"
tofu apply "equivalence_test_plan"

View File

@ -1,10 +1,10 @@
tfcoremock_simple_resource.multiline: Refreshing state... [id=69fe5233-e77a-804f-0dac-115c949540bc]
OpenTF used the selected providers to generate the following execution plan.
Resource actions are indicated with the following symbols:
OpenTofu 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:
OpenTofu will perform the following actions:
# tfcoremock_simple_resource.multiline will be updated in-place
~ resource "tfcoremock_simple_resource" "multiline" {
@ -28,4 +28,4 @@ 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:
opentf apply "equivalence_test_plan"
tofu apply "equivalence_test_plan"

View File

@ -1,9 +1,9 @@
OpenTF used the selected providers to generate the following execution plan.
Resource actions are indicated with the following symbols:
OpenTofu used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
+ create
OpenTF will perform the following actions:
OpenTofu will perform the following actions:
# tfcoremock_set.set will be created
+ resource "tfcoremock_set" "set" {
@ -22,4 +22,4 @@ Plan: 1 to add, 0 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"
tofu apply "equivalence_test_plan"

View File

@ -1,10 +1,10 @@
tfcoremock_set.set: Refreshing state... [id=046952C9-B832-4106-82C0-C217F7C73E18]
OpenTF used the selected providers to generate the following execution plan.
Resource actions are indicated with the following symbols:
OpenTofu 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:
OpenTofu will perform the following actions:
# tfcoremock_set.set will be updated in-place
~ resource "tfcoremock_set" "set" {
@ -23,4 +23,4 @@ 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:
opentf apply "equivalence_test_plan"
tofu apply "equivalence_test_plan"

View File

@ -1,10 +1,10 @@
tfcoremock_set.set: Refreshing state... [id=046952C9-B832-4106-82C0-C217F7C73E18]
OpenTF used the selected providers to generate the following execution plan.
Resource actions are indicated with the following symbols:
OpenTofu 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:
OpenTofu will perform the following actions:
# tfcoremock_set.set will be updated in-place
~ resource "tfcoremock_set" "set" {
@ -23,4 +23,4 @@ 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:
opentf apply "equivalence_test_plan"
tofu apply "equivalence_test_plan"

View File

@ -1,10 +1,10 @@
tfcoremock_set.set: Refreshing state... [id=046952C9-B832-4106-82C0-C217F7C73E18]
OpenTF used the selected providers to generate the following execution plan.
Resource actions are indicated with the following symbols:
OpenTofu 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:
OpenTofu will perform the following actions:
# tfcoremock_set.set will be updated in-place
~ resource "tfcoremock_set" "set" {
@ -23,4 +23,4 @@ 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:
opentf apply "equivalence_test_plan"
tofu apply "equivalence_test_plan"

View File

@ -1,10 +1,10 @@
OpenTF used the selected providers to generate the following execution plan.
Resource actions are indicated with the following symbols:
OpenTofu used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
+ create
<= read (data resources)
OpenTF will perform the following actions:
OpenTofu will perform the following actions:
# data.tfcoremock_simple_resource.read will be read during apply
# (config refers to values not yet known)
@ -42,4 +42,4 @@ Plan: 3 to add, 0 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"
tofu apply "equivalence_test_plan"

View File

@ -1,9 +1,9 @@
tfcoremock_simple_resource.drift: Refreshing state... [id=cb79269e-dc39-1e68-0a9c-63cb392afda9]
Note: Objects have changed outside of OpenTF
Note: Objects have changed outside of OpenTofu
OpenTF detected the following changes made outside of OpenTF since the last
"opentf apply" which may have affected this plan:
OpenTofu detected the following changes made outside of OpenTofu since the
last "tofu apply" which may have affected this plan:
# tfcoremock_simple_resource.drift has changed
~ resource "tfcoremock_simple_resource" "drift" {
@ -12,9 +12,9 @@ OpenTF detected the following changes made outside of OpenTF since the last
}
This is a refresh-only plan, so OpenTF will not take any actions to undo
This is a refresh-only plan, so OpenTofu will not take any actions to undo
these. If you were expecting these changes then you can apply this plan to
record the updated values in the OpenTF state without changing any remote
record the updated values in the OpenTofu state without changing any remote
objects.
─────────────────────────────────────────────────────────────────────────────
@ -22,4 +22,4 @@ objects.
Saved the plan to: equivalence_test_plan
To perform exactly these actions, run the following command to apply:
opentf apply "equivalence_test_plan"
tofu apply "equivalence_test_plan"

View File

@ -1,10 +1,10 @@
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 OpenTF
Note: Objects have changed outside of OpenTofu
OpenTF detected the following changes made outside of OpenTF since the last
"opentf apply" which may have affected this plan:
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" {
@ -20,11 +20,11 @@ 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:
OpenTofu 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:
OpenTofu will perform the following actions:
# tfcoremock_simple_resource.base will be updated in-place
~ resource "tfcoremock_simple_resource" "base" {
@ -46,4 +46,4 @@ 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"
tofu apply "equivalence_test_plan"

View File

@ -1,10 +1,10 @@
tfcoremock_simple_resource.drift: Refreshing state... [id=f3c6ddc5-37d5-0170-64ff-518ad421385a]
OpenTF used the selected providers to generate the following execution plan.
Resource actions are indicated with the following symbols:
OpenTofu 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:
OpenTofu will perform the following actions:
# tfcoremock_simple_resource.drift will be updated in-place
~ resource "tfcoremock_simple_resource" "drift" {
@ -19,4 +19,4 @@ 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:
opentf apply "equivalence_test_plan"
tofu apply "equivalence_test_plan"

View File

@ -1,9 +1,9 @@
OpenTF used the selected providers to generate the following execution plan.
Resource actions are indicated with the following symbols:
OpenTofu used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
+ create
OpenTF will perform the following actions:
OpenTofu will perform the following actions:
# tfcoremock_complex_resource.complex will be created
+ resource "tfcoremock_complex_resource" "complex" {
@ -225,4 +225,4 @@ Plan: 1 to add, 0 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"
tofu apply "equivalence_test_plan"

View File

@ -1,10 +1,10 @@
tfcoremock_complex_resource.complex: Refreshing state... [id=64564E36-BFCB-458B-9405-EBBF6A3CAC7A]
OpenTF used the selected providers to generate the following execution plan.
Resource actions are indicated with the following symbols:
OpenTofu used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
- destroy
OpenTF will perform the following actions:
OpenTofu will perform the following actions:
# tfcoremock_complex_resource.complex will be destroyed
- resource "tfcoremock_complex_resource" "complex" {
@ -226,4 +226,4 @@ Plan: 0 to add, 0 to change, 1 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"
tofu apply "equivalence_test_plan"

View File

@ -1,10 +1,10 @@
tfcoremock_complex_resource.complex: Refreshing state... [id=64564E36-BFCB-458B-9405-EBBF6A3CAC7A]
OpenTF used the selected providers to generate the following execution plan.
Resource actions are indicated with the following symbols:
OpenTofu 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:
OpenTofu will perform the following actions:
# tfcoremock_complex_resource.complex will be updated in-place
~ resource "tfcoremock_complex_resource" "complex" {
@ -128,4 +128,4 @@ 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:
opentf apply "equivalence_test_plan"
tofu apply "equivalence_test_plan"

View File

@ -1,9 +1,9 @@
OpenTF used the selected providers to generate the following execution plan.
Resource actions are indicated with the following symbols:
OpenTofu used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
+ create
OpenTF will perform the following actions:
OpenTofu will perform the following actions:
# local_file.local_file will be created
+ resource "local_file" "local_file" {
@ -25,4 +25,4 @@ Plan: 1 to add, 0 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"
tofu apply "equivalence_test_plan"

View File

@ -1,10 +1,10 @@
local_file.local_file: Refreshing state... [id=2248ee2fa0aaaad99178531f924bf00b4b0a8f4e]
OpenTF used the selected providers to generate the following execution plan.
Resource actions are indicated with the following symbols:
OpenTofu used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
- destroy
OpenTF will perform the following actions:
OpenTofu will perform the following actions:
# local_file.local_file will be destroyed
# (because local_file.local_file is not in configuration)
@ -27,4 +27,4 @@ Plan: 0 to add, 0 to change, 1 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"
tofu apply "equivalence_test_plan"

View File

@ -1,10 +1,10 @@
local_file.local_file: Refreshing state... [id=2248ee2fa0aaaad99178531f924bf00b4b0a8f4e]
OpenTF used the selected providers to generate the following execution plan.
Resource actions are indicated with the following symbols:
OpenTofu used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
-/+ destroy and then create replacement
OpenTF will perform the following actions:
OpenTofu will perform the following actions:
# local_file.local_file must be replaced
-/+ resource "local_file" "local_file" {
@ -25,4 +25,4 @@ Plan: 1 to add, 0 to change, 1 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"
tofu apply "equivalence_test_plan"

View File

@ -1,6 +1,6 @@
tfcoremock_simple_resource.second: Refreshing state... [id=70c47571-66c3-b1dc-2474-47a74b9c7886]
OpenTF will perform the following actions:
OpenTofu will perform the following actions:
# tfcoremock_simple_resource.first has moved to tfcoremock_simple_resource.second
resource "tfcoremock_simple_resource" "second" {
@ -15,4 +15,4 @@ Plan: 0 to add, 0 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"
tofu apply "equivalence_test_plan"

View File

@ -1,10 +1,10 @@
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
Note: Objects have changed outside of OpenTofu
OpenTF detected the following changes made outside of OpenTF since the last
"opentf apply" which may have affected this plan:
OpenTofu detected the following changes made outside of OpenTofu since the
last "tofu apply" which may have affected this plan:
# tfcoremock_simple_resource.base_after has changed
# (moved from tfcoremock_simple_resource.base_before)
@ -20,11 +20,11 @@ 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:
OpenTofu 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:
OpenTofu will perform the following actions:
# tfcoremock_simple_resource.base_after will be updated in-place
# (moved from tfcoremock_simple_resource.base_before)
@ -46,4 +46,4 @@ 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"
tofu apply "equivalence_test_plan"

View File

@ -1,9 +1,9 @@
tfcoremock_simple_resource.second: Refreshing state... [id=70c47571-66c3-b1dc-2474-47a74b9c7886]
Note: Objects have changed outside of OpenTF
Note: Objects have changed outside of OpenTofu
OpenTF detected the following changes made outside of OpenTF since the last
"opentf apply" which may have affected this plan:
OpenTofu detected the following changes made outside of OpenTofu since the
last "tofu apply" which may have affected this plan:
# tfcoremock_simple_resource.first has moved to tfcoremock_simple_resource.second
resource "tfcoremock_simple_resource" "second" {
@ -12,7 +12,7 @@ OpenTF detected the following changes made outside of OpenTF since the last
}
This is a refresh-only plan, so OpenTF will not take any actions to undo
This is a refresh-only plan, so OpenTofu will not take any actions to undo
these. If you were expecting these changes then you can apply this plan to
record the updated values in the OpenTF state without changing any remote
record the updated values in the OpenTofu state without changing any remote
objects.

View File

@ -1,10 +1,10 @@
tfcoremock_simple_resource.moved: Refreshing state... [id=7da63aeb-f908-a112-9886-f29a0b0bd4ad]
OpenTF used the selected providers to generate the following execution plan.
Resource actions are indicated with the following symbols:
OpenTofu 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:
OpenTofu will perform the following actions:
# tfcoremock_simple_resource.moved will be updated in-place
# (moved from tfcoremock_simple_resource.base)
@ -20,4 +20,4 @@ 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:
opentf apply "equivalence_test_plan"
tofu apply "equivalence_test_plan"

View File

@ -1,9 +1,9 @@
OpenTF used the selected providers to generate the following execution plan.
Resource actions are indicated with the following symbols:
OpenTofu used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
+ create
OpenTF will perform the following actions:
OpenTofu will perform the following actions:
# tfcoremock_multiple_blocks.multiple_blocks will be created
+ resource "tfcoremock_multiple_blocks" "multiple_blocks" {
@ -34,4 +34,4 @@ Plan: 1 to add, 0 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"
tofu apply "equivalence_test_plan"

View File

@ -1,10 +1,10 @@
tfcoremock_multiple_blocks.multiple_blocks: Refreshing state... [id=DA051126-BAD6-4EB2-92E5-F0250DAF0B92]
OpenTF used the selected providers to generate the following execution plan.
Resource actions are indicated with the following symbols:
OpenTofu 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:
OpenTofu will perform the following actions:
# tfcoremock_multiple_blocks.multiple_blocks will be updated in-place
~ resource "tfcoremock_multiple_blocks" "multiple_blocks" {
@ -28,4 +28,4 @@ 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:
opentf apply "equivalence_test_plan"
tofu apply "equivalence_test_plan"

View File

@ -1,9 +1,9 @@
OpenTF used the selected providers to generate the following execution plan.
Resource actions are indicated with the following symbols:
OpenTofu used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
+ create
OpenTF will perform the following actions:
OpenTofu will perform the following actions:
# tfcoremock_nested_list.nested_list will be created
+ resource "tfcoremock_nested_list" "nested_list" {
@ -27,4 +27,4 @@ Plan: 1 to add, 0 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"
tofu apply "equivalence_test_plan"

View File

@ -1,10 +1,10 @@
tfcoremock_nested_list.nested_list: Refreshing state... [id=DA051126-BAD6-4EB2-92E5-F0250DAF0B92]
OpenTF used the selected providers to generate the following execution plan.
Resource actions are indicated with the following symbols:
OpenTofu 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:
OpenTofu will perform the following actions:
# tfcoremock_nested_list.nested_list will be updated in-place
~ resource "tfcoremock_nested_list" "nested_list" {
@ -34,4 +34,4 @@ 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:
opentf apply "equivalence_test_plan"
tofu apply "equivalence_test_plan"

View File

@ -1,9 +1,9 @@
OpenTF used the selected providers to generate the following execution plan.
Resource actions are indicated with the following symbols:
OpenTofu used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
+ create
OpenTF will perform the following actions:
OpenTofu will perform the following actions:
# tfcoremock_nested_map.nested_map will be created
+ resource "tfcoremock_nested_map" "nested_map" {
@ -27,4 +27,4 @@ Plan: 1 to add, 0 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"
tofu apply "equivalence_test_plan"

View File

@ -1,10 +1,10 @@
tfcoremock_nested_map.nested_map: Refreshing state... [id=502B0348-B796-4F6A-8694-A5A397237B85]
OpenTF used the selected providers to generate the following execution plan.
Resource actions are indicated with the following symbols:
OpenTofu 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:
OpenTofu will perform the following actions:
# tfcoremock_nested_map.nested_map will be updated in-place
~ resource "tfcoremock_nested_map" "nested_map" {
@ -29,4 +29,4 @@ 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:
opentf apply "equivalence_test_plan"
tofu apply "equivalence_test_plan"

View File

@ -1,9 +1,9 @@
OpenTF used the selected providers to generate the following execution plan.
Resource actions are indicated with the following symbols:
OpenTofu used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
+ create
OpenTF will perform the following actions:
OpenTofu will perform the following actions:
# tfcoremock_nested_object.nested_object will be created
+ resource "tfcoremock_nested_object" "nested_object" {
@ -27,4 +27,4 @@ Plan: 1 to add, 0 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"
tofu apply "equivalence_test_plan"

View File

@ -1,10 +1,10 @@
tfcoremock_nested_object.nested_object: Refreshing state... [id=B2491EF0-9361-40FD-B25A-0332A1A5E052]
OpenTF used the selected providers to generate the following execution plan.
Resource actions are indicated with the following symbols:
OpenTofu 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:
OpenTofu will perform the following actions:
# tfcoremock_nested_object.nested_object will be updated in-place
~ resource "tfcoremock_nested_object" "nested_object" {
@ -28,4 +28,4 @@ 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:
opentf apply "equivalence_test_plan"
tofu apply "equivalence_test_plan"

View File

@ -1,9 +1,9 @@
OpenTF used the selected providers to generate the following execution plan.
Resource actions are indicated with the following symbols:
OpenTofu used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
+ create
OpenTF will perform the following actions:
OpenTofu will perform the following actions:
# tfcoremock_nested_set.nested_set will be created
+ resource "tfcoremock_nested_set" "nested_set" {
@ -27,4 +27,4 @@ Plan: 1 to add, 0 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"
tofu apply "equivalence_test_plan"

View File

@ -1,10 +1,10 @@
tfcoremock_nested_set.nested_set: Refreshing state... [id=510598F6-83FE-4090-8986-793293E90480]
OpenTF used the selected providers to generate the following execution plan.
Resource actions are indicated with the following symbols:
OpenTofu 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:
OpenTofu will perform the following actions:
# tfcoremock_nested_set.nested_set will be updated in-place
~ resource "tfcoremock_nested_set" "nested_set" {
@ -32,4 +32,4 @@ 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:
opentf apply "equivalence_test_plan"
tofu apply "equivalence_test_plan"

View File

@ -1,10 +1,10 @@
null_resource.null_resource: Refreshing state... [id=7115293105928418144]
OpenTF used the selected providers to generate the following execution plan.
Resource actions are indicated with the following symbols:
OpenTofu used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
- destroy
OpenTF will perform the following actions:
OpenTofu will perform the following actions:
# null_resource.null_resource will be destroyed
# (because null_resource.null_resource is not in configuration)
@ -19,4 +19,4 @@ Plan: 0 to add, 0 to change, 1 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"
tofu apply "equivalence_test_plan"

View File

@ -1,10 +1,10 @@
tfcoremock_list.list: Refreshing state... [id=F40F2AB4-100C-4AE8-BFD0-BF332A158415]
OpenTF used the selected providers to generate the following execution plan.
Resource actions are indicated with the following symbols:
OpenTofu used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
-/+ destroy and then create replacement
OpenTF will perform the following actions:
OpenTofu will perform the following actions:
# tfcoremock_list.list must be replaced
-/+ resource "tfcoremock_list" "list" {
@ -24,4 +24,4 @@ Plan: 1 to add, 0 to change, 1 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"
tofu apply "equivalence_test_plan"

View File

@ -1,10 +1,10 @@
tfcoremock_map.map: Refreshing state... [id=F40F2AB4-100C-4AE8-BFD0-BF332A158415]
OpenTF used the selected providers to generate the following execution plan.
Resource actions are indicated with the following symbols:
OpenTofu used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
-/+ destroy and then create replacement
OpenTF will perform the following actions:
OpenTofu will perform the following actions:
# tfcoremock_map.map must be replaced
-/+ resource "tfcoremock_map" "map" {
@ -24,4 +24,4 @@ Plan: 1 to add, 0 to change, 1 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"
tofu apply "equivalence_test_plan"

View File

@ -1,10 +1,10 @@
tfcoremock_object.object: Refreshing state... [id=F40F2AB4-100C-4AE8-BFD0-BF332A158415]
OpenTF used the selected providers to generate the following execution plan.
Resource actions are indicated with the following symbols:
OpenTofu used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
-/+ destroy and then create replacement
OpenTF will perform the following actions:
OpenTofu will perform the following actions:
# tfcoremock_object.object must be replaced
-/+ resource "tfcoremock_object" "object" {
@ -21,4 +21,4 @@ Plan: 1 to add, 0 to change, 1 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"
tofu apply "equivalence_test_plan"

View File

@ -1,10 +1,10 @@
tfcoremock_set.set: Refreshing state... [id=F40F2AB4-100C-4AE8-BFD0-BF332A158415]
OpenTF used the selected providers to generate the following execution plan.
Resource actions are indicated with the following symbols:
OpenTofu used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
-/+ destroy and then create replacement
OpenTF will perform the following actions:
OpenTofu will perform the following actions:
# tfcoremock_set.set must be replaced
-/+ resource "tfcoremock_set" "set" {
@ -27,4 +27,4 @@ Plan: 1 to add, 0 to change, 1 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"
tofu apply "equivalence_test_plan"

View File

@ -1,9 +1,9 @@
OpenTF used the selected providers to generate the following execution plan.
Resource actions are indicated with the following symbols:
OpenTofu used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
+ create
OpenTF will perform the following actions:
OpenTofu will perform the following actions:
# tfcoremock_object.object will be created
+ resource "tfcoremock_object" "object" {
@ -22,4 +22,4 @@ Plan: 1 to add, 0 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"
tofu apply "equivalence_test_plan"

View File

@ -1,10 +1,10 @@
tfcoremock_object.object: Refreshing state... [id=00e14fba-4d56-6cc5-b685-633555376e3f]
OpenTF used the selected providers to generate the following execution plan.
Resource actions are indicated with the following symbols:
OpenTofu 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:
OpenTofu will perform the following actions:
# tfcoremock_object.object will be updated in-place
~ resource "tfcoremock_object" "object" {
@ -23,4 +23,4 @@ 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:
opentf apply "equivalence_test_plan"
tofu apply "equivalence_test_plan"

View File

@ -1,10 +1,10 @@
tfcoremock_object.object: Refreshing state... [id=00e14fba-4d56-6cc5-b685-633555376e3f]
OpenTF used the selected providers to generate the following execution plan.
Resource actions are indicated with the following symbols:
OpenTofu 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:
OpenTofu will perform the following actions:
# tfcoremock_object.object will be updated in-place
~ resource "tfcoremock_object" "object" {
@ -23,4 +23,4 @@ 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:
opentf apply "equivalence_test_plan"
tofu apply "equivalence_test_plan"

View File

@ -1,10 +1,10 @@
tfcoremock_object.object: Refreshing state... [id=a0ed13ec-116b-14c4-7437-418e217d3659]
OpenTF used the selected providers to generate the following execution plan.
Resource actions are indicated with the following symbols:
OpenTofu used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
-/+ destroy and then create replacement
OpenTF will perform the following actions:
OpenTofu will perform the following actions:
# tfcoremock_object.object must be replaced
-/+ resource "tfcoremock_object" "object" {
@ -19,4 +19,4 @@ Plan: 1 to add, 0 to change, 1 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"
tofu apply "equivalence_test_plan"

View File

@ -1,10 +1,10 @@
tfcoremock_object.object: Refreshing state... [id=00e14fba-4d56-6cc5-b685-633555376e3f]
OpenTF used the selected providers to generate the following execution plan.
Resource actions are indicated with the following symbols:
OpenTofu 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:
OpenTofu will perform the following actions:
# tfcoremock_object.object will be updated in-place
~ resource "tfcoremock_object" "object" {
@ -23,4 +23,4 @@ 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:
opentf apply "equivalence_test_plan"
tofu apply "equivalence_test_plan"

View File

@ -32,12 +32,12 @@ Changes to Outputs:
}
}
You can apply this plan to save these new output values to the OpenTF state,
without changing any real infrastructure.
You can apply this plan to save these new output values to the OpenTofu
state, without changing any real infrastructure.
─────────────────────────────────────────────────────────────────────────────
Saved the plan to: equivalence_test_plan
To perform exactly these actions, run the following command to apply:
opentf apply "equivalence_test_plan"
tofu apply "equivalence_test_plan"

View File

@ -1,4 +1,4 @@
# This file is maintained automatically by "opentf init".
# This file is maintained automatically by "tofu init".
# Manual edits may be lost in future updates.
provider "registry.terraform.io/hashicorp/tfcoremock" {

View File

@ -1,4 +1,4 @@
# This file is maintained automatically by "opentf init".
# This file is maintained automatically by "tofu init".
# Manual edits may be lost in future updates.
provider "registry.terraform.io/hashicorp/tfcoremock" {

View File

@ -1,4 +1,4 @@
# This file is maintained automatically by "opentf init".
# This file is maintained automatically by "tofu init".
# Manual edits may be lost in future updates.
provider "registry.terraform.io/hashicorp/tfcoremock" {

View File

@ -1,4 +1,4 @@
# This file is maintained automatically by "opentf init".
# This file is maintained automatically by "tofu init".
# Manual edits may be lost in future updates.
provider "registry.terraform.io/hashicorp/tfcoremock" {

View File

@ -1,4 +1,4 @@
# This file is maintained automatically by "opentf init".
# This file is maintained automatically by "tofu init".
# Manual edits may be lost in future updates.
provider "registry.terraform.io/hashicorp/tfcoremock" {

View File

@ -1,5 +1,5 @@
{
"description": "a simple test that models drift in a single resource by updating an existing resource outside of OpenTF",
"description": "a simple test that models drift in a single resource by updating an existing resource outside of OpenTofu",
"include_files": [],
"ignore_fields": {}
}

View File

@ -1,5 +1,5 @@
{
"description": "this test creates an almost fully populated tfcoremock_complex_resource, which should cover most basic OpenTF use cases",
"description": "this test creates an almost fully populated tfcoremock_complex_resource, which should cover most basic OpenTofu use cases",
"include_files": [],
"ignore_fields": {}
}

View File

@ -1,4 +1,4 @@
# This file is maintained automatically by "opentf init".
# This file is maintained automatically by "tofu init".
# Manual edits may be lost in future updates.
provider "registry.terraform.io/hashicorp/tfcoremock" {

View File

@ -1,4 +1,4 @@
# This file is maintained automatically by "opentf init".
# This file is maintained automatically by "tofu init".
# Manual edits may be lost in future updates.
provider "registry.terraform.io/hashicorp/tfcoremock" {

View File

@ -1,4 +1,4 @@
# This file is maintained automatically by "opentf init".
# This file is maintained automatically by "tofu init".
# Manual edits may be lost in future updates.
provider "registry.terraform.io/hashicorp/local" {

View File

@ -1,4 +1,4 @@
# This file is maintained automatically by "opentf init".
# This file is maintained automatically by "tofu init".
# Manual edits may be lost in future updates.
provider "registry.terraform.io/hashicorp/local" {

View File

@ -1,4 +1,4 @@
# This file is maintained automatically by "opentf init".
# This file is maintained automatically by "tofu init".
# Manual edits may be lost in future updates.
provider "registry.terraform.io/hashicorp/tfcoremock" {

View File

@ -1,4 +1,4 @@
# This file is maintained automatically by "opentf init".
# This file is maintained automatically by "tofu init".
# Manual edits may be lost in future updates.
provider "registry.terraform.io/hashicorp/tfcoremock" {

View File

@ -1,4 +1,4 @@
# This file is maintained automatically by "opentf init".
# This file is maintained automatically by "tofu init".
# Manual edits may be lost in future updates.
provider "registry.terraform.io/hashicorp/tfcoremock" {

View File

@ -1,4 +1,4 @@
# This file is maintained automatically by "opentf init".
# This file is maintained automatically by "tofu init".
# Manual edits may be lost in future updates.
provider "registry.terraform.io/hashicorp/tfcoremock" {

View File

@ -1,4 +1,4 @@
# This file is maintained automatically by "opentf init".
# This file is maintained automatically by "tofu init".
# Manual edits may be lost in future updates.
provider "registry.terraform.io/hashicorp/null" {

View File

@ -1,4 +1,4 @@
# This file is maintained automatically by "opentf init".
# This file is maintained automatically by "tofu init".
# Manual edits may be lost in future updates.
provider "registry.terraform.io/hashicorp/tfcoremock" {

View File

@ -1,4 +1,4 @@
# This file is maintained automatically by "opentf init".
# This file is maintained automatically by "tofu init".
# Manual edits may be lost in future updates.
provider "registry.terraform.io/hashicorp/tfcoremock" {

View File

@ -1,4 +1,4 @@
# This file is maintained automatically by "opentf init".
# This file is maintained automatically by "tofu init".
# Manual edits may be lost in future updates.
provider "registry.terraform.io/hashicorp/tfcoremock" {

View File

@ -1,4 +1,4 @@
# This file is maintained automatically by "opentf init".
# This file is maintained automatically by "tofu init".
# Manual edits may be lost in future updates.
provider "registry.terraform.io/hashicorp/tfcoremock" {