Merge pull request #149 from opentffoundation/update-equivalenace-test

This commit is contained in:
Elbaz 2023-08-24 10:58:04 +03:00 committed by GitHub
commit 7de248770c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
73 changed files with 171 additions and 171 deletions

View File

@ -2,7 +2,7 @@
This repository contains OpenTF core, which includes the command line interface and the main graph engine
This document provides guidance on OpenTF contribution recommended practices. It covers what we're looking for in order to help set some expectations and help you get the most out of participation in this project.
This document provides guidance on OpenTF contribution recommended practices. It covers what we're looking for in order to help set some expectations and help you get the most out of participation in this project.
To record a bug report, enhancement proposal, or give any other product feedback, please [open a GitHub issue](https://github.com/placeholderplaceholderplaceholder/opentf/issues/new/choose) using the most appropriate issue template

View File

@ -30,7 +30,7 @@ runs:
./bin/equivalence-tests \
${{ inputs.target-os }} \
${{ inputs.target-arch }}
- name: "download terraform binary"
- name: "download opentf binary"
shell: bash
run: |
./.github/scripts/equivalence-test.sh download_terraform_binary \
@ -51,7 +51,7 @@ runs:
echo "found changes, and pushing new golden files into branch ${{ inputs.target-terraform-branch }}."
git config user.email "52939924+teamterraform@users.noreply.github.com"
git config user.name "The Terraform Team"
git config user.name "The OpenTF Team"
git add ./testing/equivalence-tests/outputs
git commit -m "Automated equivalence test golden file update for release ${{ inputs.target-terraform-version }}."

14
main.go
View File

@ -75,7 +75,7 @@ func realMain() int {
// explicit environment variable to enable telemetry collection,
// so in typical use we cannot get here.
Ui.Error(fmt.Sprintf("Could not initialize telemetry: %s", err))
Ui.Error(fmt.Sprintf("Unset environment variable %s if you don't intend to collect telemetry from Terraform.", openTelemetryExporterEnvVar))
Ui.Error(fmt.Sprintf("Unset environment variable %s if you don't intend to collect telemetry from OpenTF.", openTelemetryExporterEnvVar))
return 1
}
var ctx context.Context
@ -83,7 +83,7 @@ func realMain() int {
{
// At minimum we emit a span covering the entire command execution.
_, displayArgs := shquot.POSIXShellSplit(os.Args)
ctx, otelSpan = tracer.Start(context.Background(), fmt.Sprintf("terraform %s", displayArgs))
ctx, otelSpan = tracer.Start(context.Background(), fmt.Sprintf("opentf %s", displayArgs))
defer otelSpan.End()
}
@ -101,7 +101,7 @@ func realMain() int {
}
log.Printf(
"[INFO] Terraform version: %s %s",
"[INFO] OpenTF version: %s %s",
Version, VersionPrerelease)
for _, depMod := range version.InterestingDependencies() {
log.Printf("[DEBUG] using %s %s", depMod.Path, depMod.Version)
@ -109,7 +109,7 @@ func realMain() int {
log.Printf("[INFO] Go runtime version: %s", runtime.Version())
log.Printf("[INFO] CLI args: %#v", os.Args)
if ExperimentsAllowed() {
log.Printf("[INFO] This build of Terraform allows using experimental features")
log.Printf("[INFO] This build of OpenTF allows using experimental features")
}
streams, err := terminal.Init()
@ -157,7 +157,7 @@ func realMain() int {
Ui.Error(format.Diagnostic(diag, nil, earlyColor, 78))
}
if diags.HasErrors() {
Ui.Error("As a result of the above problems, Terraform may not behave as intended.\n\n")
Ui.Error("As a result of the above problems, OpenTF may not behave as intended.\n\n")
// We continue to run anyway, since Terraform has reasonable defaults.
}
}
@ -195,7 +195,7 @@ func realMain() int {
Ui.Error(format.Diagnostic(diag, nil, earlyColor, 78))
}
if diags.HasErrors() {
Ui.Error("As a result of the above problems, Terraform's provider installer may not behave as intended.\n\n")
Ui.Error("As a result of the above problems, OpenTF's provider installer may not behave as intended.\n\n")
// We continue to run anyway, because most commands don't do provider installation.
}
}
@ -328,7 +328,7 @@ func realMain() int {
if suggestion != "" {
suggestion = fmt.Sprintf(" Did you mean %q?", suggestion)
}
fmt.Fprintf(os.Stderr, "Terraform has no command named %q.%s\n\nTo see all of Terraform's top-level commands, run:\n terraform -help\n\n", cmd, suggestion)
fmt.Fprintf(os.Stderr, "OpenTF has no command named %q.%s\n\nTo see all of OpenTF's top-level commands, run:\n opentf -help\n\n", cmd, suggestion)
return 1
}
}

View File

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

View File

@ -1,9 +1,9 @@
Terraform used the selected providers to generate the following execution
OpenTF used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
+ create
Terraform will perform the following actions:
OpenTF 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:
terraform apply "equivalence_test_plan"
opentf apply "equivalence_test_plan"

View File

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

View File

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

View File

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

View File

@ -1,9 +1,9 @@
Terraform used the selected providers to generate the following execution
OpenTF used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
+ create
Terraform will perform the following actions:
OpenTF 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:
terraform apply "equivalence_test_plan"
opentf apply "equivalence_test_plan"

View File

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

View File

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

View File

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

View File

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

View File

@ -1,9 +1,9 @@
Terraform used the selected providers to generate the following execution
OpenTF used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
+ create
Terraform will perform the following actions:
OpenTF 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:
terraform apply "equivalence_test_plan"
opentf apply "equivalence_test_plan"

View File

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

View File

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

View File

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

View File

@ -1,10 +1,10 @@
Terraform used the selected providers to generate the following execution
OpenTF used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
+ create
<= read (data resources)
Terraform will perform the following actions:
OpenTF 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:
terraform apply "equivalence_test_plan"
opentf 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 Terraform
Note: Objects have changed outside of OpenTF
Terraform detected the following changes made outside of Terraform since the
last "terraform apply" which may have affected this plan:
OpenTF detected the following changes made outside of OpenTF since the
last "opentf apply" which may have affected this plan:
# tfcoremock_simple_resource.drift has changed
~ resource "tfcoremock_simple_resource" "drift" {
@ -12,9 +12,9 @@ last "terraform apply" which may have affected this plan:
}
This is a refresh-only plan, so Terraform will not take any actions to undo
This is a refresh-only plan, so OpenTF 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 Terraform state without changing any remote
record the updated values in the OpenTF 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:
terraform apply "equivalence_test_plan"
opentf apply "equivalence_test_plan"

View File

@ -24,7 +24,7 @@ Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
~ update in-place
Terraform will perform the following actions:
OpenTF will perform the following actions:
# tfcoremock_simple_resource.base will be updated in-place
~ resource "tfcoremock_simple_resource" "base" {

View File

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

View File

@ -1,9 +1,9 @@
Terraform used the selected providers to generate the following execution
OpenTF used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
+ create
Terraform will perform the following actions:
OpenTF 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:
terraform apply "equivalence_test_plan"
opentf apply "equivalence_test_plan"

View File

@ -1,10 +1,10 @@
tfcoremock_complex_resource.complex: Refreshing state... [id=64564E36-BFCB-458B-9405-EBBF6A3CAC7A]
Terraform used the selected providers to generate the following execution
OpenTF used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
- destroy
Terraform will perform the following actions:
OpenTF 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:
terraform apply "equivalence_test_plan"
opentf apply "equivalence_test_plan"

View File

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

View File

@ -1,9 +1,9 @@
Terraform used the selected providers to generate the following execution
OpenTF used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
+ create
Terraform will perform the following actions:
OpenTF 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:
terraform apply "equivalence_test_plan"
opentf apply "equivalence_test_plan"

View File

@ -4,7 +4,7 @@ Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
- destroy
Terraform will perform the following actions:
OpenTF will perform the following actions:
# local_file.local_file will be destroyed
# (because local_file.local_file is not in configuration)

View File

@ -1,10 +1,10 @@
local_file.local_file: Refreshing state... [id=2248ee2fa0aaaad99178531f924bf00b4b0a8f4e]
Terraform used the selected providers to generate the following execution
OpenTF used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
-/+ destroy and then create replacement
Terraform will perform the following actions:
OpenTF 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:
terraform apply "equivalence_test_plan"
opentf apply "equivalence_test_plan"

View File

@ -1,6 +1,6 @@
tfcoremock_simple_resource.second: Refreshing state... [id=70c47571-66c3-b1dc-2474-47a74b9c7886]
Terraform will perform the following actions:
OpenTF 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:
terraform apply "equivalence_test_plan"
opentf apply "equivalence_test_plan"

View File

@ -24,7 +24,7 @@ Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
~ update in-place
Terraform will perform the following actions:
OpenTF will perform the following actions:
# tfcoremock_simple_resource.base_after will be updated in-place
# (moved from tfcoremock_simple_resource.base_before)

View File

@ -1,9 +1,9 @@
tfcoremock_simple_resource.second: Refreshing state... [id=70c47571-66c3-b1dc-2474-47a74b9c7886]
Note: Objects have changed outside of Terraform
Note: Objects have changed outside of OpenTF
Terraform detected the following changes made outside of Terraform since the
last "terraform apply" which may have affected this plan:
OpenTF detected the following changes made outside of OpenTF since the
last "opentf 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 @@ last "terraform apply" which may have affected this plan:
}
This is a refresh-only plan, so Terraform will not take any actions to undo
This is a refresh-only plan, so OpenTF 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 Terraform state without changing any remote
record the updated values in the OpenTF state without changing any remote
objects.

View File

@ -1,10 +1,10 @@
tfcoremock_simple_resource.moved: Refreshing state... [id=7da63aeb-f908-a112-9886-f29a0b0bd4ad]
Terraform used the selected providers to generate the following execution
OpenTF used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
~ update in-place
Terraform will perform the following actions:
OpenTF 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:
terraform apply "equivalence_test_plan"
opentf apply "equivalence_test_plan"

View File

@ -1,9 +1,9 @@
Terraform used the selected providers to generate the following execution
OpenTF used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
+ create
Terraform will perform the following actions:
OpenTF 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:
terraform apply "equivalence_test_plan"
opentf apply "equivalence_test_plan"

View File

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

View File

@ -1,9 +1,9 @@
Terraform used the selected providers to generate the following execution
OpenTF used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
+ create
Terraform will perform the following actions:
OpenTF 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:
terraform apply "equivalence_test_plan"
opentf apply "equivalence_test_plan"

View File

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

View File

@ -3,7 +3,7 @@ Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
+ create
Terraform will perform the following actions:
OpenTF will perform the following actions:
# tfcoremock_nested_map.nested_map will be created
+ resource "tfcoremock_nested_map" "nested_map" {

View File

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

View File

@ -3,7 +3,7 @@ Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
+ create
Terraform will perform the following actions:
OpenTF will perform the following actions:
# tfcoremock_nested_object.nested_object will be created
+ resource "tfcoremock_nested_object" "nested_object" {

View File

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

View File

@ -1,9 +1,9 @@
Terraform used the selected providers to generate the following execution
OpenTF used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
+ create
Terraform will perform the following actions:
OpenTF 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:
terraform apply "equivalence_test_plan"
opentf apply "equivalence_test_plan"

View File

@ -4,7 +4,7 @@ Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
~ update in-place
Terraform will perform the following actions:
OpenTF will perform the following actions:
# tfcoremock_nested_set.nested_set will be updated in-place
~ resource "tfcoremock_nested_set" "nested_set" {

View File

@ -1,9 +1,9 @@
Terraform used the selected providers to generate the following execution
OpenTF used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
+ create
Terraform will perform the following actions:
OpenTF will perform the following actions:
# null_resource.null_resource will be created
+ resource "null_resource" "null_resource" {
@ -17,4 +17,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:
terraform apply "equivalence_test_plan"
opentf apply "equivalence_test_plan"

View File

@ -1,10 +1,10 @@
null_resource.null_resource: Refreshing state... [id=7115293105928418144]
Terraform used the selected providers to generate the following execution
OpenTF used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
- destroy
Terraform will perform the following actions:
OpenTF 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:
terraform apply "equivalence_test_plan"
opentf apply "equivalence_test_plan"

View File

@ -1,10 +1,10 @@
tfcoremock_list.list: Refreshing state... [id=F40F2AB4-100C-4AE8-BFD0-BF332A158415]
Terraform used the selected providers to generate the following execution
OpenTF used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
-/+ destroy and then create replacement
Terraform will perform the following actions:
OpenTF 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:
terraform apply "equivalence_test_plan"
opentf apply "equivalence_test_plan"

View File

@ -1,10 +1,10 @@
tfcoremock_map.map: Refreshing state... [id=F40F2AB4-100C-4AE8-BFD0-BF332A158415]
Terraform used the selected providers to generate the following execution
OpenTF used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
-/+ destroy and then create replacement
Terraform will perform the following actions:
OpenTF 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:
terraform apply "equivalence_test_plan"
opentf apply "equivalence_test_plan"

View File

@ -1,10 +1,10 @@
tfcoremock_object.object: Refreshing state... [id=F40F2AB4-100C-4AE8-BFD0-BF332A158415]
Terraform used the selected providers to generate the following execution
OpenTF used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
-/+ destroy and then create replacement
Terraform will perform the following actions:
OpenTF 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:
terraform apply "equivalence_test_plan"
opentf apply "equivalence_test_plan"

View File

@ -1,10 +1,10 @@
tfcoremock_set.set: Refreshing state... [id=F40F2AB4-100C-4AE8-BFD0-BF332A158415]
Terraform used the selected providers to generate the following execution
OpenTF used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
-/+ destroy and then create replacement
Terraform will perform the following actions:
OpenTF 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:
terraform apply "equivalence_test_plan"
opentf apply "equivalence_test_plan"

View File

@ -1,9 +1,9 @@
Terraform used the selected providers to generate the following execution
OpenTF used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
+ create
Terraform will perform the following actions:
OpenTF 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:
terraform apply "equivalence_test_plan"
opentf apply "equivalence_test_plan"

View File

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

View File

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

View File

@ -1,10 +1,10 @@
tfcoremock_object.object: Refreshing state... [id=a0ed13ec-116b-14c4-7437-418e217d3659]
Terraform used the selected providers to generate the following execution
OpenTF used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
-/+ destroy and then create replacement
Terraform will perform the following actions:
OpenTF 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:
terraform apply "equivalence_test_plan"
opentf apply "equivalence_test_plan"

View File

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

View File

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

View File

@ -1,4 +1,4 @@
# This file is maintained automatically by "terraform init".
# This file is maintained automatically by "opentf 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 "terraform init".
# This file is maintained automatically by "opentf 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 "terraform init".
# This file is maintained automatically by "opentf 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 "terraform init".
# This file is maintained automatically by "opentf 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 "terraform init".
# This file is maintained automatically by "opentf 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 Terraform",
"description": "a simple test that models drift in a single resource by updating an existing resource outside of OpenTF",
"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 Terraform use cases",
"description": "this test creates an almost fully populated tfcoremock_complex_resource, which should cover most basic OpenTF use cases",
"include_files": [],
"ignore_fields": {}
}

View File

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