mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-25 18:45:20 -06:00
Introduce a snapshot check for equivalence tests (#168)
* Introduce a snapshot check for equivalence tests * New snapshots * Allow overriding plan timestamp for snapshots * Allow setting the seed externally (as an env var) for testing purposes * Remove an equivalence test that depends on a random number
This commit is contained in:
parent
a0390bc226
commit
6e0908d53f
55
.github/workflows/compare-snapshots.yml
vendored
Normal file
55
.github/workflows/compare-snapshots.yml
vendored
Normal file
@ -0,0 +1,55 @@
|
||||
# This workflow runs on pull requests to ensure that the snapshots produced by
|
||||
# the equivalence tests are consistent with the snapshots that are checked in.
|
||||
#
|
||||
# If there is an inconsistency, it is the responsibility of the committer to
|
||||
# review it, ensure that any changes are intentional, and then commit the new
|
||||
# snapshots.
|
||||
name: Snapshots
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
compare:
|
||||
name: Compare
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Install Go
|
||||
uses: actions/setup-go@v2
|
||||
with: { go-version: '1.20' }
|
||||
|
||||
- name: Get the equivalence test binary
|
||||
run: |
|
||||
./.github/scripts/equivalence-test.sh download_equivalence_test_binary \
|
||||
0.3.0 \
|
||||
./bin/equivalence-tests \
|
||||
linux \
|
||||
amd64
|
||||
|
||||
- name: Build the OpenTF binary
|
||||
run: |
|
||||
go build -o ./bin/opentf
|
||||
|
||||
- name: Run the equivalence tests
|
||||
run: |
|
||||
export OTF_OVERRIDE_PLAN_TIMESTAMP_FOR_SNAPSHOTS="2023-08-24T12:33:30Z"
|
||||
./bin/equivalence-tests update \
|
||||
--tests=testing/equivalence-tests/tests \
|
||||
--goldens=testing/equivalence-tests/outputs \
|
||||
--binary=./bin/opentf
|
||||
|
||||
- name: Ensure there is no diff
|
||||
shell: bash
|
||||
run: |
|
||||
changed=$(git diff --quiet -- testing/equivalence-tests/outputs || echo true)
|
||||
if [[ $changed == "true" ]]; then
|
||||
echo "Found changes, please commit the new golden files."
|
||||
git diff -- testing/equivalence-tests/outputs
|
||||
exit 1
|
||||
else
|
||||
echo "Found no changes."
|
||||
fi
|
@ -7,6 +7,7 @@ import (
|
||||
"bytes"
|
||||
"fmt"
|
||||
"log"
|
||||
"os"
|
||||
"sort"
|
||||
"strings"
|
||||
"time"
|
||||
@ -592,6 +593,21 @@ func (c *Context) planWalk(config *configs.Config, prevRunState *states.State, o
|
||||
|
||||
timestamp := time.Now().UTC()
|
||||
|
||||
// This may not be pretty but it serves a single purpose, which is to ensure
|
||||
// that we don't get false alerts on plan snapshots changing. This is never
|
||||
// intended to be used in production, and is only for use in our CI system.
|
||||
if tsOverride := os.Getenv("OTF_OVERRIDE_PLAN_TIMESTAMP_FOR_SNAPSHOTS"); tsOverride != "" {
|
||||
var err error
|
||||
|
||||
if timestamp, err = time.Parse(time.RFC3339, tsOverride); err != nil {
|
||||
diags = diags.Append(tfdiags.Sourceless(
|
||||
tfdiags.Error,
|
||||
"Invalid timestamp override",
|
||||
fmt.Sprintf("The OTF_OVERRIDE_PLAN_TIMESTAMP_FOR_SNAPSHOTS environment variable is set to an invalid timestamp: %s", err)),
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
// If we get here then we should definitely have a non-nil "graph", which
|
||||
// we can now walk.
|
||||
changes := plans.NewChanges()
|
||||
|
@ -2,7 +2,7 @@
|
||||
{
|
||||
"@level": "info",
|
||||
"@message": "tfcoremock_simple_resource.json: Plan to update",
|
||||
"@module": "terraform.ui",
|
||||
"@module": "opentf.ui",
|
||||
"change": {
|
||||
"action": "update",
|
||||
"resource": {
|
||||
@ -20,7 +20,7 @@
|
||||
{
|
||||
"@level": "info",
|
||||
"@message": "tfcoremock_simple_resource.json: Modifying... [id=5a3fd9b3-e852-8956-8c0a-255d47eda645]",
|
||||
"@module": "terraform.ui",
|
||||
"@module": "opentf.ui",
|
||||
"hook": {
|
||||
"action": "update",
|
||||
"id_key": "id",
|
||||
@ -40,7 +40,7 @@
|
||||
{
|
||||
"@level": "info",
|
||||
"@message": "tfcoremock_simple_resource.json: Modifications complete after 0s [id=5a3fd9b3-e852-8956-8c0a-255d47eda645]",
|
||||
"@module": "terraform.ui",
|
||||
"@module": "opentf.ui",
|
||||
"hook": {
|
||||
"action": "update",
|
||||
"elapsed_seconds": 0,
|
||||
@ -61,10 +61,11 @@
|
||||
{
|
||||
"@level": "info",
|
||||
"@message": "Apply complete! Resources: 0 added, 1 changed, 0 destroyed.",
|
||||
"@module": "terraform.ui",
|
||||
"@module": "opentf.ui",
|
||||
"changes": {
|
||||
"add": 0,
|
||||
"change": 1,
|
||||
"import": 0,
|
||||
"operation": "apply",
|
||||
"remove": 0
|
||||
},
|
||||
@ -73,7 +74,7 @@
|
||||
{
|
||||
"@level": "info",
|
||||
"@message": "Outputs: 0",
|
||||
"@module": "terraform.ui",
|
||||
"@module": "opentf.ui",
|
||||
"outputs": {},
|
||||
"type": "outputs"
|
||||
}
|
||||
|
@ -1,7 +1,7 @@
|
||||
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:
|
||||
OpenTF used the selected providers to generate the following execution plan.
|
||||
Resource actions are indicated with the following symbols:
|
||||
~ update in-place
|
||||
|
||||
OpenTF will perform the following actions:
|
||||
|
@ -25,7 +25,8 @@
|
||||
]
|
||||
}
|
||||
},
|
||||
"format_version": "1.1",
|
||||
"errored": false,
|
||||
"format_version": "1.2",
|
||||
"planned_values": {
|
||||
"root_module": {
|
||||
"resources": [
|
||||
@ -107,5 +108,6 @@
|
||||
"provider_name": "registry.terraform.io/hashicorp/tfcoremock",
|
||||
"type": "tfcoremock_simple_resource"
|
||||
}
|
||||
]
|
||||
],
|
||||
"timestamp": "2023-08-24T12:33:30Z"
|
||||
}
|
@ -2,7 +2,7 @@
|
||||
{
|
||||
"@level": "info",
|
||||
"@message": "tfcoremock_list.list: Plan to create",
|
||||
"@module": "terraform.ui",
|
||||
"@module": "opentf.ui",
|
||||
"change": {
|
||||
"action": "create",
|
||||
"resource": {
|
||||
@ -20,7 +20,7 @@
|
||||
{
|
||||
"@level": "info",
|
||||
"@message": "tfcoremock_list.list: Creating...",
|
||||
"@module": "terraform.ui",
|
||||
"@module": "opentf.ui",
|
||||
"hook": {
|
||||
"action": "create",
|
||||
"resource": {
|
||||
@ -38,7 +38,7 @@
|
||||
{
|
||||
"@level": "info",
|
||||
"@message": "tfcoremock_list.list: Creation complete after 0s [id=985820B3-ACF9-4F00-94AD-F81C5EA33663]",
|
||||
"@module": "terraform.ui",
|
||||
"@module": "opentf.ui",
|
||||
"hook": {
|
||||
"action": "create",
|
||||
"elapsed_seconds": 0,
|
||||
@ -59,10 +59,11 @@
|
||||
{
|
||||
"@level": "info",
|
||||
"@message": "Apply complete! Resources: 1 added, 0 changed, 0 destroyed.",
|
||||
"@module": "terraform.ui",
|
||||
"@module": "opentf.ui",
|
||||
"changes": {
|
||||
"add": 1,
|
||||
"change": 0,
|
||||
"import": 0,
|
||||
"operation": "apply",
|
||||
"remove": 0
|
||||
},
|
||||
@ -71,7 +72,7 @@
|
||||
{
|
||||
"@level": "info",
|
||||
"@message": "Outputs: 0",
|
||||
"@module": "terraform.ui",
|
||||
"@module": "opentf.ui",
|
||||
"outputs": {},
|
||||
"type": "outputs"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
|
||||
OpenTF used the selected providers to generate the following execution
|
||||
plan. Resource actions are indicated with the following symbols:
|
||||
OpenTF 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:
|
||||
|
@ -32,7 +32,8 @@
|
||||
]
|
||||
}
|
||||
},
|
||||
"format_version": "1.1",
|
||||
"errored": false,
|
||||
"format_version": "1.2",
|
||||
"planned_values": {
|
||||
"root_module": {
|
||||
"resources": [
|
||||
@ -93,5 +94,6 @@
|
||||
"provider_name": "registry.terraform.io/hashicorp/tfcoremock",
|
||||
"type": "tfcoremock_list"
|
||||
}
|
||||
]
|
||||
],
|
||||
"timestamp": "2023-08-24T12:33:30Z"
|
||||
}
|
@ -2,7 +2,7 @@
|
||||
{
|
||||
"@level": "info",
|
||||
"@message": "tfcoremock_list.list: Plan to update",
|
||||
"@module": "terraform.ui",
|
||||
"@module": "opentf.ui",
|
||||
"change": {
|
||||
"action": "update",
|
||||
"resource": {
|
||||
@ -20,7 +20,7 @@
|
||||
{
|
||||
"@level": "info",
|
||||
"@message": "tfcoremock_list.list: Modifying... [id=985820B3-ACF9-4F00-94AD-F81C5EA33663]",
|
||||
"@module": "terraform.ui",
|
||||
"@module": "opentf.ui",
|
||||
"hook": {
|
||||
"action": "update",
|
||||
"id_key": "id",
|
||||
@ -40,7 +40,7 @@
|
||||
{
|
||||
"@level": "info",
|
||||
"@message": "tfcoremock_list.list: Modifications complete after 0s [id=985820B3-ACF9-4F00-94AD-F81C5EA33663]",
|
||||
"@module": "terraform.ui",
|
||||
"@module": "opentf.ui",
|
||||
"hook": {
|
||||
"action": "update",
|
||||
"elapsed_seconds": 0,
|
||||
@ -61,10 +61,11 @@
|
||||
{
|
||||
"@level": "info",
|
||||
"@message": "Apply complete! Resources: 0 added, 1 changed, 0 destroyed.",
|
||||
"@module": "terraform.ui",
|
||||
"@module": "opentf.ui",
|
||||
"changes": {
|
||||
"add": 0,
|
||||
"change": 1,
|
||||
"import": 0,
|
||||
"operation": "apply",
|
||||
"remove": 0
|
||||
},
|
||||
@ -73,7 +74,7 @@
|
||||
{
|
||||
"@level": "info",
|
||||
"@message": "Outputs: 0",
|
||||
"@module": "terraform.ui",
|
||||
"@module": "opentf.ui",
|
||||
"outputs": {},
|
||||
"type": "outputs"
|
||||
}
|
||||
|
@ -1,7 +1,7 @@
|
||||
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:
|
||||
OpenTF used the selected providers to generate the following execution plan.
|
||||
Resource actions are indicated with the following symbols:
|
||||
~ update in-place
|
||||
|
||||
OpenTF will perform the following actions:
|
||||
|
@ -28,7 +28,8 @@
|
||||
]
|
||||
}
|
||||
},
|
||||
"format_version": "1.1",
|
||||
"errored": false,
|
||||
"format_version": "1.2",
|
||||
"planned_values": {
|
||||
"root_module": {
|
||||
"resources": [
|
||||
@ -118,5 +119,6 @@
|
||||
"provider_name": "registry.terraform.io/hashicorp/tfcoremock",
|
||||
"type": "tfcoremock_list"
|
||||
}
|
||||
]
|
||||
],
|
||||
"timestamp": "2023-08-24T12:33:30Z"
|
||||
}
|
@ -2,7 +2,7 @@
|
||||
{
|
||||
"@level": "info",
|
||||
"@message": "tfcoremock_list.list: Plan to update",
|
||||
"@module": "terraform.ui",
|
||||
"@module": "opentf.ui",
|
||||
"change": {
|
||||
"action": "update",
|
||||
"resource": {
|
||||
@ -20,7 +20,7 @@
|
||||
{
|
||||
"@level": "info",
|
||||
"@message": "tfcoremock_list.list: Modifying... [id=985820B3-ACF9-4F00-94AD-F81C5EA33663]",
|
||||
"@module": "terraform.ui",
|
||||
"@module": "opentf.ui",
|
||||
"hook": {
|
||||
"action": "update",
|
||||
"id_key": "id",
|
||||
@ -40,7 +40,7 @@
|
||||
{
|
||||
"@level": "info",
|
||||
"@message": "tfcoremock_list.list: Modifications complete after 0s [id=985820B3-ACF9-4F00-94AD-F81C5EA33663]",
|
||||
"@module": "terraform.ui",
|
||||
"@module": "opentf.ui",
|
||||
"hook": {
|
||||
"action": "update",
|
||||
"elapsed_seconds": 0,
|
||||
@ -61,10 +61,11 @@
|
||||
{
|
||||
"@level": "info",
|
||||
"@message": "Apply complete! Resources: 0 added, 1 changed, 0 destroyed.",
|
||||
"@module": "terraform.ui",
|
||||
"@module": "opentf.ui",
|
||||
"changes": {
|
||||
"add": 0,
|
||||
"change": 1,
|
||||
"import": 0,
|
||||
"operation": "apply",
|
||||
"remove": 0
|
||||
},
|
||||
@ -73,7 +74,7 @@
|
||||
{
|
||||
"@level": "info",
|
||||
"@message": "Outputs: 0",
|
||||
"@module": "terraform.ui",
|
||||
"@module": "opentf.ui",
|
||||
"outputs": {},
|
||||
"type": "outputs"
|
||||
}
|
||||
|
@ -1,7 +1,7 @@
|
||||
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:
|
||||
OpenTF used the selected providers to generate the following execution plan.
|
||||
Resource actions are indicated with the following symbols:
|
||||
~ update in-place
|
||||
|
||||
OpenTF will perform the following actions:
|
||||
|
@ -25,7 +25,8 @@
|
||||
]
|
||||
}
|
||||
},
|
||||
"format_version": "1.1",
|
||||
"errored": false,
|
||||
"format_version": "1.2",
|
||||
"planned_values": {
|
||||
"root_module": {
|
||||
"resources": [
|
||||
@ -111,5 +112,6 @@
|
||||
"provider_name": "registry.terraform.io/hashicorp/tfcoremock",
|
||||
"type": "tfcoremock_list"
|
||||
}
|
||||
]
|
||||
],
|
||||
"timestamp": "2023-08-24T12:33:30Z"
|
||||
}
|
@ -2,7 +2,7 @@
|
||||
{
|
||||
"@level": "info",
|
||||
"@message": "tfcoremock_list.list: Plan to update",
|
||||
"@module": "terraform.ui",
|
||||
"@module": "opentf.ui",
|
||||
"change": {
|
||||
"action": "update",
|
||||
"resource": {
|
||||
@ -20,7 +20,7 @@
|
||||
{
|
||||
"@level": "info",
|
||||
"@message": "tfcoremock_list.list: Modifying... [id=985820B3-ACF9-4F00-94AD-F81C5EA33663]",
|
||||
"@module": "terraform.ui",
|
||||
"@module": "opentf.ui",
|
||||
"hook": {
|
||||
"action": "update",
|
||||
"id_key": "id",
|
||||
@ -40,7 +40,7 @@
|
||||
{
|
||||
"@level": "info",
|
||||
"@message": "tfcoremock_list.list: Modifications complete after 0s [id=985820B3-ACF9-4F00-94AD-F81C5EA33663]",
|
||||
"@module": "terraform.ui",
|
||||
"@module": "opentf.ui",
|
||||
"hook": {
|
||||
"action": "update",
|
||||
"elapsed_seconds": 0,
|
||||
@ -61,10 +61,11 @@
|
||||
{
|
||||
"@level": "info",
|
||||
"@message": "Apply complete! Resources: 0 added, 1 changed, 0 destroyed.",
|
||||
"@module": "terraform.ui",
|
||||
"@module": "opentf.ui",
|
||||
"changes": {
|
||||
"add": 0,
|
||||
"change": 1,
|
||||
"import": 0,
|
||||
"operation": "apply",
|
||||
"remove": 0
|
||||
},
|
||||
@ -73,7 +74,7 @@
|
||||
{
|
||||
"@level": "info",
|
||||
"@message": "Outputs: 0",
|
||||
"@module": "terraform.ui",
|
||||
"@module": "opentf.ui",
|
||||
"outputs": {},
|
||||
"type": "outputs"
|
||||
}
|
||||
|
@ -1,7 +1,7 @@
|
||||
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:
|
||||
OpenTF used the selected providers to generate the following execution plan.
|
||||
Resource actions are indicated with the following symbols:
|
||||
~ update in-place
|
||||
|
||||
OpenTF will perform the following actions:
|
||||
|
@ -32,7 +32,8 @@
|
||||
]
|
||||
}
|
||||
},
|
||||
"format_version": "1.1",
|
||||
"errored": false,
|
||||
"format_version": "1.2",
|
||||
"planned_values": {
|
||||
"root_module": {
|
||||
"resources": [
|
||||
@ -138,5 +139,6 @@
|
||||
"provider_name": "registry.terraform.io/hashicorp/tfcoremock",
|
||||
"type": "tfcoremock_list"
|
||||
}
|
||||
]
|
||||
],
|
||||
"timestamp": "2023-08-24T12:33:30Z"
|
||||
}
|
@ -2,7 +2,7 @@
|
||||
{
|
||||
"@level": "info",
|
||||
"@message": "tfcoremock_map.map: Plan to create",
|
||||
"@module": "terraform.ui",
|
||||
"@module": "opentf.ui",
|
||||
"change": {
|
||||
"action": "create",
|
||||
"resource": {
|
||||
@ -20,7 +20,7 @@
|
||||
{
|
||||
"@level": "info",
|
||||
"@message": "tfcoremock_map.map: Creating...",
|
||||
"@module": "terraform.ui",
|
||||
"@module": "opentf.ui",
|
||||
"hook": {
|
||||
"action": "create",
|
||||
"resource": {
|
||||
@ -38,7 +38,7 @@
|
||||
{
|
||||
"@level": "info",
|
||||
"@message": "tfcoremock_map.map: Creation complete after 0s [id=50E1A46E-E64A-4C1F-881C-BA85A5440964]",
|
||||
"@module": "terraform.ui",
|
||||
"@module": "opentf.ui",
|
||||
"hook": {
|
||||
"action": "create",
|
||||
"elapsed_seconds": 0,
|
||||
@ -59,10 +59,11 @@
|
||||
{
|
||||
"@level": "info",
|
||||
"@message": "Apply complete! Resources: 1 added, 0 changed, 0 destroyed.",
|
||||
"@module": "terraform.ui",
|
||||
"@module": "opentf.ui",
|
||||
"changes": {
|
||||
"add": 1,
|
||||
"change": 0,
|
||||
"import": 0,
|
||||
"operation": "apply",
|
||||
"remove": 0
|
||||
},
|
||||
@ -71,7 +72,7 @@
|
||||
{
|
||||
"@level": "info",
|
||||
"@message": "Outputs: 0",
|
||||
"@module": "terraform.ui",
|
||||
"@module": "opentf.ui",
|
||||
"outputs": {},
|
||||
"type": "outputs"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
|
||||
OpenTF used the selected providers to generate the following execution
|
||||
plan. Resource actions are indicated with the following symbols:
|
||||
OpenTF 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:
|
||||
|
@ -32,7 +32,8 @@
|
||||
]
|
||||
}
|
||||
},
|
||||
"format_version": "1.1",
|
||||
"errored": false,
|
||||
"format_version": "1.2",
|
||||
"planned_values": {
|
||||
"root_module": {
|
||||
"resources": [
|
||||
@ -85,5 +86,6 @@
|
||||
"provider_name": "registry.terraform.io/hashicorp/tfcoremock",
|
||||
"type": "tfcoremock_map"
|
||||
}
|
||||
]
|
||||
],
|
||||
"timestamp": "2023-08-24T12:33:30Z"
|
||||
}
|
@ -2,7 +2,7 @@
|
||||
{
|
||||
"@level": "info",
|
||||
"@message": "tfcoremock_map.map: Plan to update",
|
||||
"@module": "terraform.ui",
|
||||
"@module": "opentf.ui",
|
||||
"change": {
|
||||
"action": "update",
|
||||
"resource": {
|
||||
@ -20,7 +20,7 @@
|
||||
{
|
||||
"@level": "info",
|
||||
"@message": "tfcoremock_map.map: Modifying... [id=50E1A46E-E64A-4C1F-881C-BA85A5440964]",
|
||||
"@module": "terraform.ui",
|
||||
"@module": "opentf.ui",
|
||||
"hook": {
|
||||
"action": "update",
|
||||
"id_key": "id",
|
||||
@ -40,7 +40,7 @@
|
||||
{
|
||||
"@level": "info",
|
||||
"@message": "tfcoremock_map.map: Modifications complete after 0s [id=50E1A46E-E64A-4C1F-881C-BA85A5440964]",
|
||||
"@module": "terraform.ui",
|
||||
"@module": "opentf.ui",
|
||||
"hook": {
|
||||
"action": "update",
|
||||
"elapsed_seconds": 0,
|
||||
@ -61,10 +61,11 @@
|
||||
{
|
||||
"@level": "info",
|
||||
"@message": "Apply complete! Resources: 0 added, 1 changed, 0 destroyed.",
|
||||
"@module": "terraform.ui",
|
||||
"@module": "opentf.ui",
|
||||
"changes": {
|
||||
"add": 0,
|
||||
"change": 1,
|
||||
"import": 0,
|
||||
"operation": "apply",
|
||||
"remove": 0
|
||||
},
|
||||
@ -73,7 +74,7 @@
|
||||
{
|
||||
"@level": "info",
|
||||
"@message": "Outputs: 0",
|
||||
"@module": "terraform.ui",
|
||||
"@module": "opentf.ui",
|
||||
"outputs": {},
|
||||
"type": "outputs"
|
||||
}
|
||||
|
@ -1,7 +1,7 @@
|
||||
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:
|
||||
OpenTF used the selected providers to generate the following execution plan.
|
||||
Resource actions are indicated with the following symbols:
|
||||
~ update in-place
|
||||
|
||||
OpenTF will perform the following actions:
|
||||
|
@ -28,7 +28,8 @@
|
||||
]
|
||||
}
|
||||
},
|
||||
"format_version": "1.1",
|
||||
"errored": false,
|
||||
"format_version": "1.2",
|
||||
"planned_values": {
|
||||
"root_module": {
|
||||
"resources": [
|
||||
@ -110,5 +111,6 @@
|
||||
"provider_name": "registry.terraform.io/hashicorp/tfcoremock",
|
||||
"type": "tfcoremock_map"
|
||||
}
|
||||
]
|
||||
],
|
||||
"timestamp": "2023-08-24T12:33:30Z"
|
||||
}
|
@ -2,7 +2,7 @@
|
||||
{
|
||||
"@level": "info",
|
||||
"@message": "tfcoremock_map.map: Plan to update",
|
||||
"@module": "terraform.ui",
|
||||
"@module": "opentf.ui",
|
||||
"change": {
|
||||
"action": "update",
|
||||
"resource": {
|
||||
@ -20,7 +20,7 @@
|
||||
{
|
||||
"@level": "info",
|
||||
"@message": "tfcoremock_map.map: Modifying... [id=50E1A46E-E64A-4C1F-881C-BA85A5440964]",
|
||||
"@module": "terraform.ui",
|
||||
"@module": "opentf.ui",
|
||||
"hook": {
|
||||
"action": "update",
|
||||
"id_key": "id",
|
||||
@ -40,7 +40,7 @@
|
||||
{
|
||||
"@level": "info",
|
||||
"@message": "tfcoremock_map.map: Modifications complete after 0s [id=50E1A46E-E64A-4C1F-881C-BA85A5440964]",
|
||||
"@module": "terraform.ui",
|
||||
"@module": "opentf.ui",
|
||||
"hook": {
|
||||
"action": "update",
|
||||
"elapsed_seconds": 0,
|
||||
@ -61,10 +61,11 @@
|
||||
{
|
||||
"@level": "info",
|
||||
"@message": "Apply complete! Resources: 0 added, 1 changed, 0 destroyed.",
|
||||
"@module": "terraform.ui",
|
||||
"@module": "opentf.ui",
|
||||
"changes": {
|
||||
"add": 0,
|
||||
"change": 1,
|
||||
"import": 0,
|
||||
"operation": "apply",
|
||||
"remove": 0
|
||||
},
|
||||
@ -73,7 +74,7 @@
|
||||
{
|
||||
"@level": "info",
|
||||
"@message": "Outputs: 0",
|
||||
"@module": "terraform.ui",
|
||||
"@module": "opentf.ui",
|
||||
"outputs": {},
|
||||
"type": "outputs"
|
||||
}
|
||||
|
@ -1,7 +1,7 @@
|
||||
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:
|
||||
OpenTF used the selected providers to generate the following execution plan.
|
||||
Resource actions are indicated with the following symbols:
|
||||
~ update in-place
|
||||
|
||||
OpenTF will perform the following actions:
|
||||
|
@ -25,7 +25,8 @@
|
||||
]
|
||||
}
|
||||
},
|
||||
"format_version": "1.1",
|
||||
"errored": false,
|
||||
"format_version": "1.2",
|
||||
"planned_values": {
|
||||
"root_module": {
|
||||
"resources": [
|
||||
@ -103,5 +104,6 @@
|
||||
"provider_name": "registry.terraform.io/hashicorp/tfcoremock",
|
||||
"type": "tfcoremock_map"
|
||||
}
|
||||
]
|
||||
],
|
||||
"timestamp": "2023-08-24T12:33:30Z"
|
||||
}
|
@ -2,7 +2,7 @@
|
||||
{
|
||||
"@level": "info",
|
||||
"@message": "tfcoremock_map.map: Plan to update",
|
||||
"@module": "terraform.ui",
|
||||
"@module": "opentf.ui",
|
||||
"change": {
|
||||
"action": "update",
|
||||
"resource": {
|
||||
@ -20,7 +20,7 @@
|
||||
{
|
||||
"@level": "info",
|
||||
"@message": "tfcoremock_map.map: Modifying... [id=50E1A46E-E64A-4C1F-881C-BA85A5440964]",
|
||||
"@module": "terraform.ui",
|
||||
"@module": "opentf.ui",
|
||||
"hook": {
|
||||
"action": "update",
|
||||
"id_key": "id",
|
||||
@ -40,7 +40,7 @@
|
||||
{
|
||||
"@level": "info",
|
||||
"@message": "tfcoremock_map.map: Modifications complete after 0s [id=50E1A46E-E64A-4C1F-881C-BA85A5440964]",
|
||||
"@module": "terraform.ui",
|
||||
"@module": "opentf.ui",
|
||||
"hook": {
|
||||
"action": "update",
|
||||
"elapsed_seconds": 0,
|
||||
@ -61,10 +61,11 @@
|
||||
{
|
||||
"@level": "info",
|
||||
"@message": "Apply complete! Resources: 0 added, 1 changed, 0 destroyed.",
|
||||
"@module": "terraform.ui",
|
||||
"@module": "opentf.ui",
|
||||
"changes": {
|
||||
"add": 0,
|
||||
"change": 1,
|
||||
"import": 0,
|
||||
"operation": "apply",
|
||||
"remove": 0
|
||||
},
|
||||
@ -73,7 +74,7 @@
|
||||
{
|
||||
"@level": "info",
|
||||
"@message": "Outputs: 0",
|
||||
"@module": "terraform.ui",
|
||||
"@module": "opentf.ui",
|
||||
"outputs": {},
|
||||
"type": "outputs"
|
||||
}
|
||||
|
@ -1,7 +1,7 @@
|
||||
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:
|
||||
OpenTF used the selected providers to generate the following execution plan.
|
||||
Resource actions are indicated with the following symbols:
|
||||
~ update in-place
|
||||
|
||||
OpenTF will perform the following actions:
|
||||
|
@ -32,7 +32,8 @@
|
||||
]
|
||||
}
|
||||
},
|
||||
"format_version": "1.1",
|
||||
"errored": false,
|
||||
"format_version": "1.2",
|
||||
"planned_values": {
|
||||
"root_module": {
|
||||
"resources": [
|
||||
@ -122,5 +123,6 @@
|
||||
"provider_name": "registry.terraform.io/hashicorp/tfcoremock",
|
||||
"type": "tfcoremock_map"
|
||||
}
|
||||
]
|
||||
],
|
||||
"timestamp": "2023-08-24T12:33:30Z"
|
||||
}
|
@ -2,7 +2,7 @@
|
||||
{
|
||||
"@level": "info",
|
||||
"@message": "tfcoremock_simple_resource.multiline: Plan to update",
|
||||
"@module": "terraform.ui",
|
||||
"@module": "opentf.ui",
|
||||
"change": {
|
||||
"action": "update",
|
||||
"resource": {
|
||||
@ -20,7 +20,7 @@
|
||||
{
|
||||
"@level": "info",
|
||||
"@message": "tfcoremock_simple_resource.multiline: Modifying... [id=69fe5233-e77a-804f-0dac-115c949540bc]",
|
||||
"@module": "terraform.ui",
|
||||
"@module": "opentf.ui",
|
||||
"hook": {
|
||||
"action": "update",
|
||||
"id_key": "id",
|
||||
@ -40,7 +40,7 @@
|
||||
{
|
||||
"@level": "info",
|
||||
"@message": "tfcoremock_simple_resource.multiline: Modifications complete after 0s [id=69fe5233-e77a-804f-0dac-115c949540bc]",
|
||||
"@module": "terraform.ui",
|
||||
"@module": "opentf.ui",
|
||||
"hook": {
|
||||
"action": "update",
|
||||
"elapsed_seconds": 0,
|
||||
@ -61,10 +61,11 @@
|
||||
{
|
||||
"@level": "info",
|
||||
"@message": "Apply complete! Resources: 0 added, 1 changed, 0 destroyed.",
|
||||
"@module": "terraform.ui",
|
||||
"@module": "opentf.ui",
|
||||
"changes": {
|
||||
"add": 0,
|
||||
"change": 1,
|
||||
"import": 0,
|
||||
"operation": "apply",
|
||||
"remove": 0
|
||||
},
|
||||
@ -73,7 +74,7 @@
|
||||
{
|
||||
"@level": "info",
|
||||
"@message": "Outputs: 0",
|
||||
"@module": "terraform.ui",
|
||||
"@module": "opentf.ui",
|
||||
"outputs": {},
|
||||
"type": "outputs"
|
||||
}
|
||||
|
@ -1,7 +1,7 @@
|
||||
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:
|
||||
OpenTF used the selected providers to generate the following execution plan.
|
||||
Resource actions are indicated with the following symbols:
|
||||
~ update in-place
|
||||
|
||||
OpenTF will perform the following actions:
|
||||
|
@ -25,7 +25,8 @@
|
||||
]
|
||||
}
|
||||
},
|
||||
"format_version": "1.1",
|
||||
"errored": false,
|
||||
"format_version": "1.2",
|
||||
"planned_values": {
|
||||
"root_module": {
|
||||
"resources": [
|
||||
@ -107,5 +108,6 @@
|
||||
"provider_name": "registry.terraform.io/hashicorp/tfcoremock",
|
||||
"type": "tfcoremock_simple_resource"
|
||||
}
|
||||
]
|
||||
],
|
||||
"timestamp": "2023-08-24T12:33:30Z"
|
||||
}
|
@ -2,7 +2,7 @@
|
||||
{
|
||||
"@level": "info",
|
||||
"@message": "tfcoremock_set.set: Plan to create",
|
||||
"@module": "terraform.ui",
|
||||
"@module": "opentf.ui",
|
||||
"change": {
|
||||
"action": "create",
|
||||
"resource": {
|
||||
@ -20,7 +20,7 @@
|
||||
{
|
||||
"@level": "info",
|
||||
"@message": "tfcoremock_set.set: Creating...",
|
||||
"@module": "terraform.ui",
|
||||
"@module": "opentf.ui",
|
||||
"hook": {
|
||||
"action": "create",
|
||||
"resource": {
|
||||
@ -38,7 +38,7 @@
|
||||
{
|
||||
"@level": "info",
|
||||
"@message": "tfcoremock_set.set: Creation complete after 0s [id=046952C9-B832-4106-82C0-C217F7C73E18]",
|
||||
"@module": "terraform.ui",
|
||||
"@module": "opentf.ui",
|
||||
"hook": {
|
||||
"action": "create",
|
||||
"elapsed_seconds": 0,
|
||||
@ -59,10 +59,11 @@
|
||||
{
|
||||
"@level": "info",
|
||||
"@message": "Apply complete! Resources: 1 added, 0 changed, 0 destroyed.",
|
||||
"@module": "terraform.ui",
|
||||
"@module": "opentf.ui",
|
||||
"changes": {
|
||||
"add": 1,
|
||||
"change": 0,
|
||||
"import": 0,
|
||||
"operation": "apply",
|
||||
"remove": 0
|
||||
},
|
||||
@ -71,7 +72,7 @@
|
||||
{
|
||||
"@level": "info",
|
||||
"@message": "Outputs: 0",
|
||||
"@module": "terraform.ui",
|
||||
"@module": "opentf.ui",
|
||||
"outputs": {},
|
||||
"type": "outputs"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
|
||||
OpenTF used the selected providers to generate the following execution
|
||||
plan. Resource actions are indicated with the following symbols:
|
||||
OpenTF 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:
|
||||
|
@ -32,7 +32,8 @@
|
||||
]
|
||||
}
|
||||
},
|
||||
"format_version": "1.1",
|
||||
"errored": false,
|
||||
"format_version": "1.2",
|
||||
"planned_values": {
|
||||
"root_module": {
|
||||
"resources": [
|
||||
@ -93,5 +94,6 @@
|
||||
"provider_name": "registry.terraform.io/hashicorp/tfcoremock",
|
||||
"type": "tfcoremock_set"
|
||||
}
|
||||
]
|
||||
],
|
||||
"timestamp": "2023-08-24T12:33:30Z"
|
||||
}
|
@ -2,7 +2,7 @@
|
||||
{
|
||||
"@level": "info",
|
||||
"@message": "tfcoremock_set.set: Plan to update",
|
||||
"@module": "terraform.ui",
|
||||
"@module": "opentf.ui",
|
||||
"change": {
|
||||
"action": "update",
|
||||
"resource": {
|
||||
@ -20,7 +20,7 @@
|
||||
{
|
||||
"@level": "info",
|
||||
"@message": "tfcoremock_set.set: Modifying... [id=046952C9-B832-4106-82C0-C217F7C73E18]",
|
||||
"@module": "terraform.ui",
|
||||
"@module": "opentf.ui",
|
||||
"hook": {
|
||||
"action": "update",
|
||||
"id_key": "id",
|
||||
@ -40,7 +40,7 @@
|
||||
{
|
||||
"@level": "info",
|
||||
"@message": "tfcoremock_set.set: Modifications complete after 0s [id=046952C9-B832-4106-82C0-C217F7C73E18]",
|
||||
"@module": "terraform.ui",
|
||||
"@module": "opentf.ui",
|
||||
"hook": {
|
||||
"action": "update",
|
||||
"elapsed_seconds": 0,
|
||||
@ -61,10 +61,11 @@
|
||||
{
|
||||
"@level": "info",
|
||||
"@message": "Apply complete! Resources: 0 added, 1 changed, 0 destroyed.",
|
||||
"@module": "terraform.ui",
|
||||
"@module": "opentf.ui",
|
||||
"changes": {
|
||||
"add": 0,
|
||||
"change": 1,
|
||||
"import": 0,
|
||||
"operation": "apply",
|
||||
"remove": 0
|
||||
},
|
||||
@ -73,7 +74,7 @@
|
||||
{
|
||||
"@level": "info",
|
||||
"@message": "Outputs: 0",
|
||||
"@module": "terraform.ui",
|
||||
"@module": "opentf.ui",
|
||||
"outputs": {},
|
||||
"type": "outputs"
|
||||
}
|
||||
|
@ -1,7 +1,7 @@
|
||||
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:
|
||||
OpenTF used the selected providers to generate the following execution plan.
|
||||
Resource actions are indicated with the following symbols:
|
||||
~ update in-place
|
||||
|
||||
OpenTF will perform the following actions:
|
||||
|
@ -28,7 +28,8 @@
|
||||
]
|
||||
}
|
||||
},
|
||||
"format_version": "1.1",
|
||||
"errored": false,
|
||||
"format_version": "1.2",
|
||||
"planned_values": {
|
||||
"root_module": {
|
||||
"resources": [
|
||||
@ -118,5 +119,6 @@
|
||||
"provider_name": "registry.terraform.io/hashicorp/tfcoremock",
|
||||
"type": "tfcoremock_set"
|
||||
}
|
||||
]
|
||||
],
|
||||
"timestamp": "2023-08-24T12:33:30Z"
|
||||
}
|
@ -2,7 +2,7 @@
|
||||
{
|
||||
"@level": "info",
|
||||
"@message": "tfcoremock_set.set: Plan to update",
|
||||
"@module": "terraform.ui",
|
||||
"@module": "opentf.ui",
|
||||
"change": {
|
||||
"action": "update",
|
||||
"resource": {
|
||||
@ -20,7 +20,7 @@
|
||||
{
|
||||
"@level": "info",
|
||||
"@message": "tfcoremock_set.set: Modifying... [id=046952C9-B832-4106-82C0-C217F7C73E18]",
|
||||
"@module": "terraform.ui",
|
||||
"@module": "opentf.ui",
|
||||
"hook": {
|
||||
"action": "update",
|
||||
"id_key": "id",
|
||||
@ -40,7 +40,7 @@
|
||||
{
|
||||
"@level": "info",
|
||||
"@message": "tfcoremock_set.set: Modifications complete after 0s [id=046952C9-B832-4106-82C0-C217F7C73E18]",
|
||||
"@module": "terraform.ui",
|
||||
"@module": "opentf.ui",
|
||||
"hook": {
|
||||
"action": "update",
|
||||
"elapsed_seconds": 0,
|
||||
@ -61,10 +61,11 @@
|
||||
{
|
||||
"@level": "info",
|
||||
"@message": "Apply complete! Resources: 0 added, 1 changed, 0 destroyed.",
|
||||
"@module": "terraform.ui",
|
||||
"@module": "opentf.ui",
|
||||
"changes": {
|
||||
"add": 0,
|
||||
"change": 1,
|
||||
"import": 0,
|
||||
"operation": "apply",
|
||||
"remove": 0
|
||||
},
|
||||
@ -73,7 +74,7 @@
|
||||
{
|
||||
"@level": "info",
|
||||
"@message": "Outputs: 0",
|
||||
"@module": "terraform.ui",
|
||||
"@module": "opentf.ui",
|
||||
"outputs": {},
|
||||
"type": "outputs"
|
||||
}
|
||||
|
@ -1,7 +1,7 @@
|
||||
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:
|
||||
OpenTF used the selected providers to generate the following execution plan.
|
||||
Resource actions are indicated with the following symbols:
|
||||
~ update in-place
|
||||
|
||||
OpenTF will perform the following actions:
|
||||
|
@ -25,7 +25,8 @@
|
||||
]
|
||||
}
|
||||
},
|
||||
"format_version": "1.1",
|
||||
"errored": false,
|
||||
"format_version": "1.2",
|
||||
"planned_values": {
|
||||
"root_module": {
|
||||
"resources": [
|
||||
@ -111,5 +112,6 @@
|
||||
"provider_name": "registry.terraform.io/hashicorp/tfcoremock",
|
||||
"type": "tfcoremock_set"
|
||||
}
|
||||
]
|
||||
],
|
||||
"timestamp": "2023-08-24T12:33:30Z"
|
||||
}
|
@ -2,7 +2,7 @@
|
||||
{
|
||||
"@level": "info",
|
||||
"@message": "tfcoremock_set.set: Plan to update",
|
||||
"@module": "terraform.ui",
|
||||
"@module": "opentf.ui",
|
||||
"change": {
|
||||
"action": "update",
|
||||
"resource": {
|
||||
@ -20,7 +20,7 @@
|
||||
{
|
||||
"@level": "info",
|
||||
"@message": "tfcoremock_set.set: Modifying... [id=046952C9-B832-4106-82C0-C217F7C73E18]",
|
||||
"@module": "terraform.ui",
|
||||
"@module": "opentf.ui",
|
||||
"hook": {
|
||||
"action": "update",
|
||||
"id_key": "id",
|
||||
@ -40,7 +40,7 @@
|
||||
{
|
||||
"@level": "info",
|
||||
"@message": "tfcoremock_set.set: Modifications complete after 0s [id=046952C9-B832-4106-82C0-C217F7C73E18]",
|
||||
"@module": "terraform.ui",
|
||||
"@module": "opentf.ui",
|
||||
"hook": {
|
||||
"action": "update",
|
||||
"elapsed_seconds": 0,
|
||||
@ -61,10 +61,11 @@
|
||||
{
|
||||
"@level": "info",
|
||||
"@message": "Apply complete! Resources: 0 added, 1 changed, 0 destroyed.",
|
||||
"@module": "terraform.ui",
|
||||
"@module": "opentf.ui",
|
||||
"changes": {
|
||||
"add": 0,
|
||||
"change": 1,
|
||||
"import": 0,
|
||||
"operation": "apply",
|
||||
"remove": 0
|
||||
},
|
||||
@ -73,7 +74,7 @@
|
||||
{
|
||||
"@level": "info",
|
||||
"@message": "Outputs: 0",
|
||||
"@module": "terraform.ui",
|
||||
"@module": "opentf.ui",
|
||||
"outputs": {},
|
||||
"type": "outputs"
|
||||
}
|
||||
|
@ -1,7 +1,7 @@
|
||||
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:
|
||||
OpenTF used the selected providers to generate the following execution plan.
|
||||
Resource actions are indicated with the following symbols:
|
||||
~ update in-place
|
||||
|
||||
OpenTF will perform the following actions:
|
||||
|
@ -32,7 +32,8 @@
|
||||
]
|
||||
}
|
||||
},
|
||||
"format_version": "1.1",
|
||||
"errored": false,
|
||||
"format_version": "1.2",
|
||||
"planned_values": {
|
||||
"root_module": {
|
||||
"resources": [
|
||||
@ -138,5 +139,6 @@
|
||||
"provider_name": "registry.terraform.io/hashicorp/tfcoremock",
|
||||
"type": "tfcoremock_set"
|
||||
}
|
||||
]
|
||||
],
|
||||
"timestamp": "2023-08-24T12:33:30Z"
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
|
||||
OpenTF used the selected providers to generate the following execution
|
||||
plan. Resource actions are indicated with the following symbols:
|
||||
OpenTF used the selected providers to generate the following execution plan.
|
||||
Resource actions are indicated with the following symbols:
|
||||
+ create
|
||||
<= read (data resources)
|
||||
|
||||
|
@ -124,7 +124,8 @@
|
||||
]
|
||||
}
|
||||
},
|
||||
"format_version": "1.1",
|
||||
"errored": false,
|
||||
"format_version": "1.2",
|
||||
"planned_values": {
|
||||
"root_module": {
|
||||
"child_modules": [
|
||||
@ -323,5 +324,6 @@
|
||||
"provider_name": "registry.terraform.io/hashicorp/random",
|
||||
"type": "random_integer"
|
||||
}
|
||||
]
|
||||
],
|
||||
"timestamp": "2023-08-24T12:33:30Z"
|
||||
}
|
@ -2,10 +2,11 @@
|
||||
{
|
||||
"@level": "info",
|
||||
"@message": "Apply complete! Resources: 0 added, 0 changed, 0 destroyed.",
|
||||
"@module": "terraform.ui",
|
||||
"@module": "opentf.ui",
|
||||
"changes": {
|
||||
"add": 0,
|
||||
"change": 0,
|
||||
"import": 0,
|
||||
"operation": "apply",
|
||||
"remove": 0
|
||||
},
|
||||
@ -14,7 +15,7 @@
|
||||
{
|
||||
"@level": "info",
|
||||
"@message": "Outputs: 0",
|
||||
"@module": "terraform.ui",
|
||||
"@module": "opentf.ui",
|
||||
"outputs": {},
|
||||
"type": "outputs"
|
||||
}
|
||||
|
@ -2,8 +2,8 @@ tfcoremock_simple_resource.drift: Refreshing state... [id=cb79269e-dc39-1e68-0a9
|
||||
|
||||
Note: Objects have changed outside of OpenTF
|
||||
|
||||
OpenTF detected the following changes made outside of OpenTF since the
|
||||
last "opentf apply" which may have affected this plan:
|
||||
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" {
|
||||
|
@ -25,7 +25,8 @@
|
||||
]
|
||||
}
|
||||
},
|
||||
"format_version": "1.1",
|
||||
"errored": false,
|
||||
"format_version": "1.2",
|
||||
"planned_values": {
|
||||
"root_module": {}
|
||||
},
|
||||
@ -87,5 +88,6 @@
|
||||
"provider_name": "registry.terraform.io/hashicorp/tfcoremock",
|
||||
"type": "tfcoremock_simple_resource"
|
||||
}
|
||||
]
|
||||
],
|
||||
"timestamp": "2023-08-24T12:33:30Z"
|
||||
}
|
@ -2,7 +2,7 @@
|
||||
{
|
||||
"@level": "info",
|
||||
"@message": "tfcoremock_simple_resource.base: Plan to update",
|
||||
"@module": "terraform.ui",
|
||||
"@module": "opentf.ui",
|
||||
"change": {
|
||||
"action": "update",
|
||||
"resource": {
|
||||
@ -20,7 +20,7 @@
|
||||
{
|
||||
"@level": "info",
|
||||
"@message": "tfcoremock_simple_resource.dependent: Plan to update",
|
||||
"@module": "terraform.ui",
|
||||
"@module": "opentf.ui",
|
||||
"change": {
|
||||
"action": "update",
|
||||
"resource": {
|
||||
@ -38,7 +38,7 @@
|
||||
{
|
||||
"@level": "info",
|
||||
"@message": "tfcoremock_simple_resource.base: Modifying... [id=f6f74ca6-e8ef-e51f-522c-433b9ed5038f]",
|
||||
"@module": "terraform.ui",
|
||||
"@module": "opentf.ui",
|
||||
"hook": {
|
||||
"action": "update",
|
||||
"id_key": "id",
|
||||
@ -58,7 +58,7 @@
|
||||
{
|
||||
"@level": "info",
|
||||
"@message": "tfcoremock_simple_resource.base: Modifications complete after 0s [id=f6f74ca6-e8ef-e51f-522c-433b9ed5038f]",
|
||||
"@module": "terraform.ui",
|
||||
"@module": "opentf.ui",
|
||||
"hook": {
|
||||
"action": "update",
|
||||
"elapsed_seconds": 0,
|
||||
@ -79,7 +79,7 @@
|
||||
{
|
||||
"@level": "info",
|
||||
"@message": "tfcoremock_simple_resource.dependent: Modifying... [id=1b17b502-96c9-fcc3-3b09-2af1c3de6ad8]",
|
||||
"@module": "terraform.ui",
|
||||
"@module": "opentf.ui",
|
||||
"hook": {
|
||||
"action": "update",
|
||||
"id_key": "id",
|
||||
@ -99,7 +99,7 @@
|
||||
{
|
||||
"@level": "info",
|
||||
"@message": "tfcoremock_simple_resource.dependent: Modifications complete after 0s [id=1b17b502-96c9-fcc3-3b09-2af1c3de6ad8]",
|
||||
"@module": "terraform.ui",
|
||||
"@module": "opentf.ui",
|
||||
"hook": {
|
||||
"action": "update",
|
||||
"elapsed_seconds": 0,
|
||||
@ -120,10 +120,11 @@
|
||||
{
|
||||
"@level": "info",
|
||||
"@message": "Apply complete! Resources: 0 added, 2 changed, 0 destroyed.",
|
||||
"@module": "terraform.ui",
|
||||
"@module": "opentf.ui",
|
||||
"changes": {
|
||||
"add": 0,
|
||||
"change": 2,
|
||||
"import": 0,
|
||||
"operation": "apply",
|
||||
"remove": 0
|
||||
},
|
||||
@ -132,7 +133,7 @@
|
||||
{
|
||||
"@level": "info",
|
||||
"@message": "Outputs: 0",
|
||||
"@module": "terraform.ui",
|
||||
"@module": "opentf.ui",
|
||||
"outputs": {},
|
||||
"type": "outputs"
|
||||
}
|
||||
|
@ -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 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.base has changed
|
||||
~ resource "tfcoremock_simple_resource" "base" {
|
||||
@ -20,8 +20,8 @@ actions to undo or respond to these changes.
|
||||
|
||||
─────────────────────────────────────────────────────────────────────────────
|
||||
|
||||
Terraform used the selected providers to generate the following execution
|
||||
plan. Resource actions are indicated with the following symbols:
|
||||
OpenTF used the selected providers to generate the following execution plan.
|
||||
Resource actions are indicated with the following symbols:
|
||||
~ update in-place
|
||||
|
||||
OpenTF will perform the following actions:
|
||||
@ -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:
|
||||
terraform apply "equivalence_test_plan"
|
||||
opentf apply "equivalence_test_plan"
|
||||
|
@ -44,7 +44,8 @@
|
||||
]
|
||||
}
|
||||
},
|
||||
"format_version": "1.1",
|
||||
"errored": false,
|
||||
"format_version": "1.2",
|
||||
"planned_values": {
|
||||
"root_module": {
|
||||
"resources": [
|
||||
@ -235,5 +236,6 @@
|
||||
"provider_name": "registry.terraform.io/hashicorp/tfcoremock",
|
||||
"type": "tfcoremock_simple_resource"
|
||||
}
|
||||
]
|
||||
],
|
||||
"timestamp": "2023-08-24T12:33:30Z"
|
||||
}
|
@ -2,7 +2,7 @@
|
||||
{
|
||||
"@level": "info",
|
||||
"@message": "tfcoremock_simple_resource.drift: Plan to update",
|
||||
"@module": "terraform.ui",
|
||||
"@module": "opentf.ui",
|
||||
"change": {
|
||||
"action": "update",
|
||||
"resource": {
|
||||
@ -20,7 +20,7 @@
|
||||
{
|
||||
"@level": "info",
|
||||
"@message": "tfcoremock_simple_resource.drift: Modifying... [id=f3c6ddc5-37d5-0170-64ff-518ad421385a]",
|
||||
"@module": "terraform.ui",
|
||||
"@module": "opentf.ui",
|
||||
"hook": {
|
||||
"action": "update",
|
||||
"id_key": "id",
|
||||
@ -40,7 +40,7 @@
|
||||
{
|
||||
"@level": "info",
|
||||
"@message": "tfcoremock_simple_resource.drift: Modifications complete after 0s [id=f3c6ddc5-37d5-0170-64ff-518ad421385a]",
|
||||
"@module": "terraform.ui",
|
||||
"@module": "opentf.ui",
|
||||
"hook": {
|
||||
"action": "update",
|
||||
"elapsed_seconds": 0,
|
||||
@ -61,10 +61,11 @@
|
||||
{
|
||||
"@level": "info",
|
||||
"@message": "Apply complete! Resources: 0 added, 1 changed, 0 destroyed.",
|
||||
"@module": "terraform.ui",
|
||||
"@module": "opentf.ui",
|
||||
"changes": {
|
||||
"add": 0,
|
||||
"change": 1,
|
||||
"import": 0,
|
||||
"operation": "apply",
|
||||
"remove": 0
|
||||
},
|
||||
@ -73,7 +74,7 @@
|
||||
{
|
||||
"@level": "info",
|
||||
"@message": "Outputs: 0",
|
||||
"@module": "terraform.ui",
|
||||
"@module": "opentf.ui",
|
||||
"outputs": {},
|
||||
"type": "outputs"
|
||||
}
|
||||
|
@ -1,7 +1,7 @@
|
||||
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:
|
||||
OpenTF used the selected providers to generate the following execution plan.
|
||||
Resource actions are indicated with the following symbols:
|
||||
~ update in-place
|
||||
|
||||
OpenTF will perform the following actions:
|
||||
|
@ -25,7 +25,8 @@
|
||||
]
|
||||
}
|
||||
},
|
||||
"format_version": "1.1",
|
||||
"errored": false,
|
||||
"format_version": "1.2",
|
||||
"planned_values": {
|
||||
"root_module": {
|
||||
"resources": [
|
||||
@ -140,5 +141,6 @@
|
||||
"provider_name": "registry.terraform.io/hashicorp/tfcoremock",
|
||||
"type": "tfcoremock_simple_resource"
|
||||
}
|
||||
]
|
||||
],
|
||||
"timestamp": "2023-08-24T12:33:30Z"
|
||||
}
|
@ -2,7 +2,7 @@
|
||||
{
|
||||
"@level": "info",
|
||||
"@message": "tfcoremock_complex_resource.complex: Plan to create",
|
||||
"@module": "terraform.ui",
|
||||
"@module": "opentf.ui",
|
||||
"change": {
|
||||
"action": "create",
|
||||
"resource": {
|
||||
@ -20,7 +20,7 @@
|
||||
{
|
||||
"@level": "info",
|
||||
"@message": "tfcoremock_complex_resource.complex: Creating...",
|
||||
"@module": "terraform.ui",
|
||||
"@module": "opentf.ui",
|
||||
"hook": {
|
||||
"action": "create",
|
||||
"resource": {
|
||||
@ -38,7 +38,7 @@
|
||||
{
|
||||
"@level": "info",
|
||||
"@message": "tfcoremock_complex_resource.complex: Creation complete after 0s [id=64564E36-BFCB-458B-9405-EBBF6A3CAC7A]",
|
||||
"@module": "terraform.ui",
|
||||
"@module": "opentf.ui",
|
||||
"hook": {
|
||||
"action": "create",
|
||||
"elapsed_seconds": 0,
|
||||
@ -59,10 +59,11 @@
|
||||
{
|
||||
"@level": "info",
|
||||
"@message": "Apply complete! Resources: 1 added, 0 changed, 0 destroyed.",
|
||||
"@module": "terraform.ui",
|
||||
"@module": "opentf.ui",
|
||||
"changes": {
|
||||
"add": 1,
|
||||
"change": 0,
|
||||
"import": 0,
|
||||
"operation": "apply",
|
||||
"remove": 0
|
||||
},
|
||||
@ -71,7 +72,7 @@
|
||||
{
|
||||
"@level": "info",
|
||||
"@message": "Outputs: 0",
|
||||
"@module": "terraform.ui",
|
||||
"@module": "opentf.ui",
|
||||
"outputs": {},
|
||||
"type": "outputs"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
|
||||
OpenTF used the selected providers to generate the following execution
|
||||
plan. Resource actions are indicated with the following symbols:
|
||||
OpenTF 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:
|
||||
|
@ -237,7 +237,8 @@
|
||||
]
|
||||
}
|
||||
},
|
||||
"format_version": "1.1",
|
||||
"errored": false,
|
||||
"format_version": "1.2",
|
||||
"planned_values": {
|
||||
"root_module": {
|
||||
"resources": [
|
||||
@ -1540,5 +1541,6 @@
|
||||
"provider_name": "registry.terraform.io/hashicorp/tfcoremock",
|
||||
"type": "tfcoremock_complex_resource"
|
||||
}
|
||||
]
|
||||
],
|
||||
"timestamp": "2023-08-24T12:33:30Z"
|
||||
}
|
@ -2,7 +2,7 @@
|
||||
{
|
||||
"@level": "info",
|
||||
"@message": "tfcoremock_complex_resource.complex: Refreshing state... [id=64564E36-BFCB-458B-9405-EBBF6A3CAC7A]",
|
||||
"@module": "terraform.ui",
|
||||
"@module": "opentf.ui",
|
||||
"hook": {
|
||||
"id_key": "id",
|
||||
"id_value": "64564E36-BFCB-458B-9405-EBBF6A3CAC7A",
|
||||
@ -21,7 +21,7 @@
|
||||
{
|
||||
"@level": "info",
|
||||
"@message": "tfcoremock_complex_resource.complex: Refresh complete [id=64564E36-BFCB-458B-9405-EBBF6A3CAC7A]",
|
||||
"@module": "terraform.ui",
|
||||
"@module": "opentf.ui",
|
||||
"hook": {
|
||||
"id_key": "id",
|
||||
"id_value": "64564E36-BFCB-458B-9405-EBBF6A3CAC7A",
|
||||
@ -40,7 +40,7 @@
|
||||
{
|
||||
"@level": "info",
|
||||
"@message": "tfcoremock_complex_resource.complex: Plan to delete",
|
||||
"@module": "terraform.ui",
|
||||
"@module": "opentf.ui",
|
||||
"change": {
|
||||
"action": "delete",
|
||||
"resource": {
|
||||
@ -58,10 +58,11 @@
|
||||
{
|
||||
"@level": "info",
|
||||
"@message": "Plan: 0 to add, 0 to change, 1 to destroy.",
|
||||
"@module": "terraform.ui",
|
||||
"@module": "opentf.ui",
|
||||
"changes": {
|
||||
"add": 0,
|
||||
"change": 0,
|
||||
"import": 0,
|
||||
"operation": "plan",
|
||||
"remove": 1
|
||||
},
|
||||
@ -70,7 +71,7 @@
|
||||
{
|
||||
"@level": "info",
|
||||
"@message": "tfcoremock_complex_resource.complex: Destroying... [id=64564E36-BFCB-458B-9405-EBBF6A3CAC7A]",
|
||||
"@module": "terraform.ui",
|
||||
"@module": "opentf.ui",
|
||||
"hook": {
|
||||
"action": "delete",
|
||||
"id_key": "id",
|
||||
@ -90,7 +91,7 @@
|
||||
{
|
||||
"@level": "info",
|
||||
"@message": "tfcoremock_complex_resource.complex: Destruction complete after 0s",
|
||||
"@module": "terraform.ui",
|
||||
"@module": "opentf.ui",
|
||||
"hook": {
|
||||
"action": "delete",
|
||||
"elapsed_seconds": 0,
|
||||
@ -109,10 +110,11 @@
|
||||
{
|
||||
"@level": "info",
|
||||
"@message": "Destroy complete! Resources: 1 destroyed.",
|
||||
"@module": "terraform.ui",
|
||||
"@module": "opentf.ui",
|
||||
"changes": {
|
||||
"add": 0,
|
||||
"change": 0,
|
||||
"import": 0,
|
||||
"operation": "destroy",
|
||||
"remove": 1
|
||||
},
|
||||
|
@ -1,7 +1,7 @@
|
||||
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:
|
||||
OpenTF 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:
|
||||
|
@ -232,7 +232,8 @@
|
||||
]
|
||||
}
|
||||
},
|
||||
"format_version": "1.1",
|
||||
"errored": false,
|
||||
"format_version": "1.2",
|
||||
"planned_values": {
|
||||
"root_module": {}
|
||||
},
|
||||
@ -1541,5 +1542,6 @@
|
||||
"provider_name": "registry.terraform.io/hashicorp/tfcoremock",
|
||||
"type": "tfcoremock_complex_resource"
|
||||
}
|
||||
]
|
||||
],
|
||||
"timestamp": "2023-08-24T12:33:30Z"
|
||||
}
|
@ -2,7 +2,7 @@
|
||||
{
|
||||
"@level": "info",
|
||||
"@message": "tfcoremock_complex_resource.complex: Plan to update",
|
||||
"@module": "terraform.ui",
|
||||
"@module": "opentf.ui",
|
||||
"change": {
|
||||
"action": "update",
|
||||
"resource": {
|
||||
@ -20,7 +20,7 @@
|
||||
{
|
||||
"@level": "info",
|
||||
"@message": "tfcoremock_complex_resource.complex: Modifying... [id=64564E36-BFCB-458B-9405-EBBF6A3CAC7A]",
|
||||
"@module": "terraform.ui",
|
||||
"@module": "opentf.ui",
|
||||
"hook": {
|
||||
"action": "update",
|
||||
"id_key": "id",
|
||||
@ -40,7 +40,7 @@
|
||||
{
|
||||
"@level": "info",
|
||||
"@message": "tfcoremock_complex_resource.complex: Modifications complete after 0s [id=64564E36-BFCB-458B-9405-EBBF6A3CAC7A]",
|
||||
"@module": "terraform.ui",
|
||||
"@module": "opentf.ui",
|
||||
"hook": {
|
||||
"action": "update",
|
||||
"elapsed_seconds": 0,
|
||||
@ -61,10 +61,11 @@
|
||||
{
|
||||
"@level": "info",
|
||||
"@message": "Apply complete! Resources: 0 added, 1 changed, 0 destroyed.",
|
||||
"@module": "terraform.ui",
|
||||
"@module": "opentf.ui",
|
||||
"changes": {
|
||||
"add": 0,
|
||||
"change": 1,
|
||||
"import": 0,
|
||||
"operation": "apply",
|
||||
"remove": 0
|
||||
},
|
||||
@ -73,7 +74,7 @@
|
||||
{
|
||||
"@level": "info",
|
||||
"@message": "Outputs: 0",
|
||||
"@module": "terraform.ui",
|
||||
"@module": "opentf.ui",
|
||||
"outputs": {},
|
||||
"type": "outputs"
|
||||
}
|
||||
|
@ -1,7 +1,7 @@
|
||||
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:
|
||||
OpenTF used the selected providers to generate the following execution plan.
|
||||
Resource actions are indicated with the following symbols:
|
||||
~ update in-place
|
||||
|
||||
OpenTF will perform the following actions:
|
||||
|
@ -232,7 +232,8 @@
|
||||
]
|
||||
}
|
||||
},
|
||||
"format_version": "1.1",
|
||||
"errored": false,
|
||||
"format_version": "1.2",
|
||||
"planned_values": {
|
||||
"root_module": {
|
||||
"resources": [
|
||||
@ -2830,5 +2831,6 @@
|
||||
"provider_name": "registry.terraform.io/hashicorp/tfcoremock",
|
||||
"type": "tfcoremock_complex_resource"
|
||||
}
|
||||
]
|
||||
],
|
||||
"timestamp": "2023-08-24T12:33:30Z"
|
||||
}
|
@ -2,7 +2,7 @@
|
||||
{
|
||||
"@level": "info",
|
||||
"@message": "local_file.local_file: Plan to create",
|
||||
"@module": "terraform.ui",
|
||||
"@module": "opentf.ui",
|
||||
"change": {
|
||||
"action": "create",
|
||||
"resource": {
|
||||
@ -20,7 +20,7 @@
|
||||
{
|
||||
"@level": "info",
|
||||
"@message": "local_file.local_file: Creating...",
|
||||
"@module": "terraform.ui",
|
||||
"@module": "opentf.ui",
|
||||
"hook": {
|
||||
"action": "create",
|
||||
"resource": {
|
||||
@ -38,7 +38,7 @@
|
||||
{
|
||||
"@level": "info",
|
||||
"@message": "local_file.local_file: Creation complete after 0s [id=2248ee2fa0aaaad99178531f924bf00b4b0a8f4e]",
|
||||
"@module": "terraform.ui",
|
||||
"@module": "opentf.ui",
|
||||
"hook": {
|
||||
"action": "create",
|
||||
"elapsed_seconds": 0,
|
||||
@ -59,10 +59,11 @@
|
||||
{
|
||||
"@level": "info",
|
||||
"@message": "Apply complete! Resources: 1 added, 0 changed, 0 destroyed.",
|
||||
"@module": "terraform.ui",
|
||||
"@module": "opentf.ui",
|
||||
"changes": {
|
||||
"add": 1,
|
||||
"change": 0,
|
||||
"import": 0,
|
||||
"operation": "apply",
|
||||
"remove": 0
|
||||
},
|
||||
@ -71,7 +72,7 @@
|
||||
{
|
||||
"@level": "info",
|
||||
"@message": "Outputs: 0",
|
||||
"@module": "terraform.ui",
|
||||
"@module": "opentf.ui",
|
||||
"outputs": {},
|
||||
"type": "outputs"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
|
||||
OpenTF used the selected providers to generate the following execution
|
||||
plan. Resource actions are indicated with the following symbols:
|
||||
OpenTF 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:
|
||||
|
@ -30,7 +30,8 @@
|
||||
]
|
||||
}
|
||||
},
|
||||
"format_version": "1.1",
|
||||
"errored": false,
|
||||
"format_version": "1.2",
|
||||
"planned_values": {
|
||||
"root_module": {
|
||||
"resources": [
|
||||
@ -85,5 +86,6 @@
|
||||
"provider_name": "registry.terraform.io/hashicorp/local",
|
||||
"type": "local_file"
|
||||
}
|
||||
]
|
||||
],
|
||||
"timestamp": "2023-08-24T12:33:30Z"
|
||||
}
|
@ -9,7 +9,9 @@
|
||||
"name": "local_file",
|
||||
"provider_name": "registry.terraform.io/hashicorp/local",
|
||||
"schema_version": 0,
|
||||
"sensitive_values": {},
|
||||
"sensitive_values": {
|
||||
"sensitive_content": true
|
||||
},
|
||||
"type": "local_file",
|
||||
"values": {
|
||||
"content": "{\"hello\":\"world\"}",
|
||||
|
@ -2,7 +2,7 @@
|
||||
{
|
||||
"@level": "info",
|
||||
"@message": "local_file.local_file: Plan to delete",
|
||||
"@module": "terraform.ui",
|
||||
"@module": "opentf.ui",
|
||||
"change": {
|
||||
"action": "delete",
|
||||
"reason": "delete_because_no_resource_config",
|
||||
@ -21,7 +21,7 @@
|
||||
{
|
||||
"@level": "info",
|
||||
"@message": "local_file.local_file: Destroying... [id=2248ee2fa0aaaad99178531f924bf00b4b0a8f4e]",
|
||||
"@module": "terraform.ui",
|
||||
"@module": "opentf.ui",
|
||||
"hook": {
|
||||
"action": "delete",
|
||||
"id_key": "id",
|
||||
@ -41,7 +41,7 @@
|
||||
{
|
||||
"@level": "info",
|
||||
"@message": "local_file.local_file: Destruction complete after 0s",
|
||||
"@module": "terraform.ui",
|
||||
"@module": "opentf.ui",
|
||||
"hook": {
|
||||
"action": "delete",
|
||||
"elapsed_seconds": 0,
|
||||
@ -60,10 +60,11 @@
|
||||
{
|
||||
"@level": "info",
|
||||
"@message": "Apply complete! Resources: 0 added, 0 changed, 1 destroyed.",
|
||||
"@module": "terraform.ui",
|
||||
"@module": "opentf.ui",
|
||||
"changes": {
|
||||
"add": 0,
|
||||
"change": 0,
|
||||
"import": 0,
|
||||
"operation": "apply",
|
||||
"remove": 1
|
||||
},
|
||||
@ -72,7 +73,7 @@
|
||||
{
|
||||
"@level": "info",
|
||||
"@message": "Outputs: 0",
|
||||
"@module": "terraform.ui",
|
||||
"@module": "opentf.ui",
|
||||
"outputs": {},
|
||||
"type": "outputs"
|
||||
}
|
||||
|
@ -1,7 +1,7 @@
|
||||
local_file.local_file: Refreshing state... [id=2248ee2fa0aaaad99178531f924bf00b4b0a8f4e]
|
||||
|
||||
Terraform used the selected providers to generate the following execution
|
||||
plan. Resource actions are indicated with the following symbols:
|
||||
OpenTF 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:
|
||||
@ -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:
|
||||
terraform apply "equivalence_test_plan"
|
||||
opentf apply "equivalence_test_plan"
|
||||
|
@ -9,7 +9,8 @@
|
||||
},
|
||||
"root_module": {}
|
||||
},
|
||||
"format_version": "1.1",
|
||||
"errored": false,
|
||||
"format_version": "1.2",
|
||||
"planned_values": {
|
||||
"root_module": {}
|
||||
},
|
||||
@ -24,7 +25,9 @@
|
||||
"name": "local_file",
|
||||
"provider_name": "registry.terraform.io/hashicorp/local",
|
||||
"schema_version": 0,
|
||||
"sensitive_values": {},
|
||||
"sensitive_values": {
|
||||
"sensitive_content": true
|
||||
},
|
||||
"type": "local_file",
|
||||
"values": {
|
||||
"content": "{\"hello\":\"world\"}",
|
||||
@ -71,5 +74,6 @@
|
||||
"provider_name": "registry.terraform.io/hashicorp/local",
|
||||
"type": "local_file"
|
||||
}
|
||||
]
|
||||
],
|
||||
"timestamp": "2023-08-24T12:33:30Z"
|
||||
}
|
@ -2,7 +2,7 @@
|
||||
{
|
||||
"@level": "info",
|
||||
"@message": "local_file.local_file: Plan to replace",
|
||||
"@module": "terraform.ui",
|
||||
"@module": "opentf.ui",
|
||||
"change": {
|
||||
"action": "replace",
|
||||
"reason": "cannot_update",
|
||||
@ -21,7 +21,7 @@
|
||||
{
|
||||
"@level": "info",
|
||||
"@message": "local_file.local_file: Destroying... [id=2248ee2fa0aaaad99178531f924bf00b4b0a8f4e]",
|
||||
"@module": "terraform.ui",
|
||||
"@module": "opentf.ui",
|
||||
"hook": {
|
||||
"action": "delete",
|
||||
"id_key": "id",
|
||||
@ -41,7 +41,7 @@
|
||||
{
|
||||
"@level": "info",
|
||||
"@message": "local_file.local_file: Destruction complete after 0s",
|
||||
"@module": "terraform.ui",
|
||||
"@module": "opentf.ui",
|
||||
"hook": {
|
||||
"action": "delete",
|
||||
"elapsed_seconds": 0,
|
||||
@ -60,7 +60,7 @@
|
||||
{
|
||||
"@level": "info",
|
||||
"@message": "local_file.local_file: Creating...",
|
||||
"@module": "terraform.ui",
|
||||
"@module": "opentf.ui",
|
||||
"hook": {
|
||||
"action": "create",
|
||||
"resource": {
|
||||
@ -78,7 +78,7 @@
|
||||
{
|
||||
"@level": "info",
|
||||
"@message": "local_file.local_file: Creation complete after 0s [id=648a5452054fca119f95b07f9ea992cc6d9681df]",
|
||||
"@module": "terraform.ui",
|
||||
"@module": "opentf.ui",
|
||||
"hook": {
|
||||
"action": "create",
|
||||
"elapsed_seconds": 0,
|
||||
@ -99,10 +99,11 @@
|
||||
{
|
||||
"@level": "info",
|
||||
"@message": "Apply complete! Resources: 1 added, 0 changed, 1 destroyed.",
|
||||
"@module": "terraform.ui",
|
||||
"@module": "opentf.ui",
|
||||
"changes": {
|
||||
"add": 1,
|
||||
"change": 0,
|
||||
"import": 0,
|
||||
"operation": "apply",
|
||||
"remove": 1
|
||||
},
|
||||
@ -111,7 +112,7 @@
|
||||
{
|
||||
"@level": "info",
|
||||
"@message": "Outputs: 0",
|
||||
"@module": "terraform.ui",
|
||||
"@module": "opentf.ui",
|
||||
"outputs": {},
|
||||
"type": "outputs"
|
||||
}
|
||||
|
@ -1,7 +1,7 @@
|
||||
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:
|
||||
OpenTF 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:
|
||||
|
@ -30,7 +30,8 @@
|
||||
]
|
||||
}
|
||||
},
|
||||
"format_version": "1.1",
|
||||
"errored": false,
|
||||
"format_version": "1.2",
|
||||
"planned_values": {
|
||||
"root_module": {
|
||||
"resources": [
|
||||
@ -66,7 +67,9 @@
|
||||
"name": "local_file",
|
||||
"provider_name": "registry.terraform.io/hashicorp/local",
|
||||
"schema_version": 0,
|
||||
"sensitive_values": {},
|
||||
"sensitive_values": {
|
||||
"sensitive_content": true
|
||||
},
|
||||
"type": "local_file",
|
||||
"values": {
|
||||
"content": "{\"hello\":\"world\"}",
|
||||
@ -131,5 +134,6 @@
|
||||
"provider_name": "registry.terraform.io/hashicorp/local",
|
||||
"type": "local_file"
|
||||
}
|
||||
]
|
||||
],
|
||||
"timestamp": "2023-08-24T12:33:30Z"
|
||||
}
|
@ -9,7 +9,9 @@
|
||||
"name": "local_file",
|
||||
"provider_name": "registry.terraform.io/hashicorp/local",
|
||||
"schema_version": 0,
|
||||
"sensitive_values": {},
|
||||
"sensitive_values": {
|
||||
"sensitive_content": true
|
||||
},
|
||||
"type": "local_file",
|
||||
"values": {
|
||||
"content": "{\"goodbye\":\"world\"}",
|
||||
|
@ -2,10 +2,11 @@
|
||||
{
|
||||
"@level": "info",
|
||||
"@message": "Apply complete! Resources: 0 added, 0 changed, 0 destroyed.",
|
||||
"@module": "terraform.ui",
|
||||
"@module": "opentf.ui",
|
||||
"changes": {
|
||||
"add": 0,
|
||||
"change": 0,
|
||||
"import": 0,
|
||||
"operation": "apply",
|
||||
"remove": 0
|
||||
},
|
||||
@ -14,7 +15,7 @@
|
||||
{
|
||||
"@level": "info",
|
||||
"@message": "Outputs: 0",
|
||||
"@module": "terraform.ui",
|
||||
"@module": "opentf.ui",
|
||||
"outputs": {},
|
||||
"type": "outputs"
|
||||
}
|
||||
|
@ -25,7 +25,8 @@
|
||||
]
|
||||
}
|
||||
},
|
||||
"format_version": "1.1",
|
||||
"errored": false,
|
||||
"format_version": "1.2",
|
||||
"planned_values": {
|
||||
"root_module": {
|
||||
"resources": [
|
||||
@ -108,5 +109,6 @@
|
||||
"provider_name": "registry.terraform.io/hashicorp/tfcoremock",
|
||||
"type": "tfcoremock_simple_resource"
|
||||
}
|
||||
]
|
||||
],
|
||||
"timestamp": "2023-08-24T12:33:30Z"
|
||||
}
|
@ -2,7 +2,7 @@
|
||||
{
|
||||
"@level": "info",
|
||||
"@message": "tfcoremock_simple_resource.base_after: Plan to update",
|
||||
"@module": "terraform.ui",
|
||||
"@module": "opentf.ui",
|
||||
"change": {
|
||||
"action": "update",
|
||||
"previous_resource": {
|
||||
@ -29,7 +29,7 @@
|
||||
{
|
||||
"@level": "info",
|
||||
"@message": "tfcoremock_simple_resource.dependent: Plan to update",
|
||||
"@module": "terraform.ui",
|
||||
"@module": "opentf.ui",
|
||||
"change": {
|
||||
"action": "update",
|
||||
"resource": {
|
||||
@ -47,7 +47,7 @@
|
||||
{
|
||||
"@level": "info",
|
||||
"@message": "tfcoremock_simple_resource.base_after: Modifying... [id=e450ef2f-b80f-0cce-8bdb-14d88f48649c]",
|
||||
"@module": "terraform.ui",
|
||||
"@module": "opentf.ui",
|
||||
"hook": {
|
||||
"action": "update",
|
||||
"id_key": "id",
|
||||
@ -67,7 +67,7 @@
|
||||
{
|
||||
"@level": "info",
|
||||
"@message": "tfcoremock_simple_resource.base_after: Modifications complete after 0s [id=e450ef2f-b80f-0cce-8bdb-14d88f48649c]",
|
||||
"@module": "terraform.ui",
|
||||
"@module": "opentf.ui",
|
||||
"hook": {
|
||||
"action": "update",
|
||||
"elapsed_seconds": 0,
|
||||
@ -88,7 +88,7 @@
|
||||
{
|
||||
"@level": "info",
|
||||
"@message": "tfcoremock_simple_resource.dependent: Modifying... [id=2ecc718c-8d04-5774-5c36-7d69bf77d34e]",
|
||||
"@module": "terraform.ui",
|
||||
"@module": "opentf.ui",
|
||||
"hook": {
|
||||
"action": "update",
|
||||
"id_key": "id",
|
||||
@ -108,7 +108,7 @@
|
||||
{
|
||||
"@level": "info",
|
||||
"@message": "tfcoremock_simple_resource.dependent: Modifications complete after 0s [id=2ecc718c-8d04-5774-5c36-7d69bf77d34e]",
|
||||
"@module": "terraform.ui",
|
||||
"@module": "opentf.ui",
|
||||
"hook": {
|
||||
"action": "update",
|
||||
"elapsed_seconds": 0,
|
||||
@ -129,10 +129,11 @@
|
||||
{
|
||||
"@level": "info",
|
||||
"@message": "Apply complete! Resources: 0 added, 2 changed, 0 destroyed.",
|
||||
"@module": "terraform.ui",
|
||||
"@module": "opentf.ui",
|
||||
"changes": {
|
||||
"add": 0,
|
||||
"change": 2,
|
||||
"import": 0,
|
||||
"operation": "apply",
|
||||
"remove": 0
|
||||
},
|
||||
@ -141,7 +142,7 @@
|
||||
{
|
||||
"@level": "info",
|
||||
"@message": "Outputs: 0",
|
||||
"@module": "terraform.ui",
|
||||
"@module": "opentf.ui",
|
||||
"outputs": {},
|
||||
"type": "outputs"
|
||||
}
|
||||
|
@ -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 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.base_after has changed
|
||||
# (moved from tfcoremock_simple_resource.base_before)
|
||||
@ -20,8 +20,8 @@ actions to undo or respond to these changes.
|
||||
|
||||
─────────────────────────────────────────────────────────────────────────────
|
||||
|
||||
Terraform used the selected providers to generate the following execution
|
||||
plan. Resource actions are indicated with the following symbols:
|
||||
OpenTF used the selected providers to generate the following execution plan.
|
||||
Resource actions are indicated with the following symbols:
|
||||
~ update in-place
|
||||
|
||||
OpenTF will perform the following actions:
|
||||
@ -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:
|
||||
terraform apply "equivalence_test_plan"
|
||||
opentf apply "equivalence_test_plan"
|
||||
|
@ -41,7 +41,8 @@
|
||||
]
|
||||
}
|
||||
},
|
||||
"format_version": "1.1",
|
||||
"errored": false,
|
||||
"format_version": "1.2",
|
||||
"planned_values": {
|
||||
"root_module": {
|
||||
"resources": [
|
||||
@ -235,5 +236,6 @@
|
||||
"provider_name": "registry.terraform.io/hashicorp/tfcoremock",
|
||||
"type": "tfcoremock_simple_resource"
|
||||
}
|
||||
]
|
||||
],
|
||||
"timestamp": "2023-08-24T12:33:30Z"
|
||||
}
|
@ -2,10 +2,11 @@
|
||||
{
|
||||
"@level": "info",
|
||||
"@message": "Apply complete! Resources: 0 added, 0 changed, 0 destroyed.",
|
||||
"@module": "terraform.ui",
|
||||
"@module": "opentf.ui",
|
||||
"changes": {
|
||||
"add": 0,
|
||||
"change": 0,
|
||||
"import": 0,
|
||||
"operation": "apply",
|
||||
"remove": 0
|
||||
},
|
||||
@ -14,7 +15,7 @@
|
||||
{
|
||||
"@level": "info",
|
||||
"@message": "Outputs: 0",
|
||||
"@module": "terraform.ui",
|
||||
"@module": "opentf.ui",
|
||||
"outputs": {},
|
||||
"type": "outputs"
|
||||
}
|
||||
|
@ -2,8 +2,8 @@ tfcoremock_simple_resource.second: Refreshing state... [id=70c47571-66c3-b1dc-24
|
||||
|
||||
Note: Objects have changed outside of OpenTF
|
||||
|
||||
OpenTF detected the following changes made outside of OpenTF since the
|
||||
last "opentf apply" which may have affected this plan:
|
||||
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" {
|
||||
|
@ -25,7 +25,8 @@
|
||||
]
|
||||
}
|
||||
},
|
||||
"format_version": "1.1",
|
||||
"errored": false,
|
||||
"format_version": "1.2",
|
||||
"planned_values": {
|
||||
"root_module": {}
|
||||
},
|
||||
@ -88,5 +89,6 @@
|
||||
"provider_name": "registry.terraform.io/hashicorp/tfcoremock",
|
||||
"type": "tfcoremock_simple_resource"
|
||||
}
|
||||
]
|
||||
],
|
||||
"timestamp": "2023-08-24T12:33:30Z"
|
||||
}
|
@ -2,7 +2,7 @@
|
||||
{
|
||||
"@level": "info",
|
||||
"@message": "tfcoremock_simple_resource.moved: Plan to update",
|
||||
"@module": "terraform.ui",
|
||||
"@module": "opentf.ui",
|
||||
"change": {
|
||||
"action": "update",
|
||||
"previous_resource": {
|
||||
@ -29,7 +29,7 @@
|
||||
{
|
||||
"@level": "info",
|
||||
"@message": "tfcoremock_simple_resource.moved: Modifying... [id=7da63aeb-f908-a112-9886-f29a0b0bd4ad]",
|
||||
"@module": "terraform.ui",
|
||||
"@module": "opentf.ui",
|
||||
"hook": {
|
||||
"action": "update",
|
||||
"id_key": "id",
|
||||
@ -49,7 +49,7 @@
|
||||
{
|
||||
"@level": "info",
|
||||
"@message": "tfcoremock_simple_resource.moved: Modifications complete after 0s [id=7da63aeb-f908-a112-9886-f29a0b0bd4ad]",
|
||||
"@module": "terraform.ui",
|
||||
"@module": "opentf.ui",
|
||||
"hook": {
|
||||
"action": "update",
|
||||
"elapsed_seconds": 0,
|
||||
@ -70,10 +70,11 @@
|
||||
{
|
||||
"@level": "info",
|
||||
"@message": "Apply complete! Resources: 0 added, 1 changed, 0 destroyed.",
|
||||
"@module": "terraform.ui",
|
||||
"@module": "opentf.ui",
|
||||
"changes": {
|
||||
"add": 0,
|
||||
"change": 1,
|
||||
"import": 0,
|
||||
"operation": "apply",
|
||||
"remove": 0
|
||||
},
|
||||
@ -82,7 +83,7 @@
|
||||
{
|
||||
"@level": "info",
|
||||
"@message": "Outputs: 0",
|
||||
"@module": "terraform.ui",
|
||||
"@module": "opentf.ui",
|
||||
"outputs": {},
|
||||
"type": "outputs"
|
||||
}
|
||||
|
@ -1,7 +1,7 @@
|
||||
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:
|
||||
OpenTF used the selected providers to generate the following execution plan.
|
||||
Resource actions are indicated with the following symbols:
|
||||
~ update in-place
|
||||
|
||||
OpenTF will perform the following actions:
|
||||
|
@ -25,7 +25,8 @@
|
||||
]
|
||||
}
|
||||
},
|
||||
"format_version": "1.1",
|
||||
"errored": false,
|
||||
"format_version": "1.2",
|
||||
"planned_values": {
|
||||
"root_module": {
|
||||
"resources": [
|
||||
@ -108,5 +109,6 @@
|
||||
"provider_name": "registry.terraform.io/hashicorp/tfcoremock",
|
||||
"type": "tfcoremock_simple_resource"
|
||||
}
|
||||
]
|
||||
],
|
||||
"timestamp": "2023-08-24T12:33:30Z"
|
||||
}
|
@ -2,7 +2,7 @@
|
||||
{
|
||||
"@level": "info",
|
||||
"@message": "tfcoremock_multiple_blocks.multiple_blocks: Plan to create",
|
||||
"@module": "terraform.ui",
|
||||
"@module": "opentf.ui",
|
||||
"change": {
|
||||
"action": "create",
|
||||
"resource": {
|
||||
@ -20,7 +20,7 @@
|
||||
{
|
||||
"@level": "info",
|
||||
"@message": "tfcoremock_multiple_blocks.multiple_blocks: Creating...",
|
||||
"@module": "terraform.ui",
|
||||
"@module": "opentf.ui",
|
||||
"hook": {
|
||||
"action": "create",
|
||||
"resource": {
|
||||
@ -38,7 +38,7 @@
|
||||
{
|
||||
"@level": "info",
|
||||
"@message": "tfcoremock_multiple_blocks.multiple_blocks: Creation complete after 0s [id=DA051126-BAD6-4EB2-92E5-F0250DAF0B92]",
|
||||
"@module": "terraform.ui",
|
||||
"@module": "opentf.ui",
|
||||
"hook": {
|
||||
"action": "create",
|
||||
"elapsed_seconds": 0,
|
||||
@ -59,10 +59,11 @@
|
||||
{
|
||||
"@level": "info",
|
||||
"@message": "Apply complete! Resources: 1 added, 0 changed, 0 destroyed.",
|
||||
"@module": "terraform.ui",
|
||||
"@module": "opentf.ui",
|
||||
"changes": {
|
||||
"add": 1,
|
||||
"change": 0,
|
||||
"import": 0,
|
||||
"operation": "apply",
|
||||
"remove": 0
|
||||
},
|
||||
@ -71,7 +72,7 @@
|
||||
{
|
||||
"@level": "info",
|
||||
"@message": "Outputs: 0",
|
||||
"@module": "terraform.ui",
|
||||
"@module": "opentf.ui",
|
||||
"outputs": {},
|
||||
"type": "outputs"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
|
||||
OpenTF used the selected providers to generate the following execution
|
||||
plan. Resource actions are indicated with the following symbols:
|
||||
OpenTF 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:
|
||||
|
@ -54,7 +54,8 @@
|
||||
]
|
||||
}
|
||||
},
|
||||
"format_version": "1.1",
|
||||
"errored": false,
|
||||
"format_version": "1.2",
|
||||
"planned_values": {
|
||||
"root_module": {
|
||||
"resources": [
|
||||
@ -151,5 +152,6 @@
|
||||
"provider_name": "registry.terraform.io/hashicorp/tfcoremock",
|
||||
"type": "tfcoremock_multiple_blocks"
|
||||
}
|
||||
]
|
||||
],
|
||||
"timestamp": "2023-08-24T12:33:30Z"
|
||||
}
|
@ -2,7 +2,7 @@
|
||||
{
|
||||
"@level": "info",
|
||||
"@message": "tfcoremock_multiple_blocks.multiple_blocks: Plan to update",
|
||||
"@module": "terraform.ui",
|
||||
"@module": "opentf.ui",
|
||||
"change": {
|
||||
"action": "update",
|
||||
"resource": {
|
||||
@ -20,7 +20,7 @@
|
||||
{
|
||||
"@level": "info",
|
||||
"@message": "tfcoremock_multiple_blocks.multiple_blocks: Modifying... [id=DA051126-BAD6-4EB2-92E5-F0250DAF0B92]",
|
||||
"@module": "terraform.ui",
|
||||
"@module": "opentf.ui",
|
||||
"hook": {
|
||||
"action": "update",
|
||||
"id_key": "id",
|
||||
@ -40,7 +40,7 @@
|
||||
{
|
||||
"@level": "info",
|
||||
"@message": "tfcoremock_multiple_blocks.multiple_blocks: Modifications complete after 0s [id=DA051126-BAD6-4EB2-92E5-F0250DAF0B92]",
|
||||
"@module": "terraform.ui",
|
||||
"@module": "opentf.ui",
|
||||
"hook": {
|
||||
"action": "update",
|
||||
"elapsed_seconds": 0,
|
||||
@ -61,10 +61,11 @@
|
||||
{
|
||||
"@level": "info",
|
||||
"@message": "Apply complete! Resources: 0 added, 1 changed, 0 destroyed.",
|
||||
"@module": "terraform.ui",
|
||||
"@module": "opentf.ui",
|
||||
"changes": {
|
||||
"add": 0,
|
||||
"change": 1,
|
||||
"import": 0,
|
||||
"operation": "apply",
|
||||
"remove": 0
|
||||
},
|
||||
@ -73,7 +74,7 @@
|
||||
{
|
||||
"@level": "info",
|
||||
"@message": "Outputs: 0",
|
||||
"@module": "terraform.ui",
|
||||
"@module": "opentf.ui",
|
||||
"outputs": {},
|
||||
"type": "outputs"
|
||||
}
|
||||
|
@ -1,7 +1,7 @@
|
||||
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:
|
||||
OpenTF used the selected providers to generate the following execution plan.
|
||||
Resource actions are indicated with the following symbols:
|
||||
~ update in-place
|
||||
|
||||
OpenTF will perform the following actions:
|
||||
|
@ -54,7 +54,8 @@
|
||||
]
|
||||
}
|
||||
},
|
||||
"format_version": "1.1",
|
||||
"errored": false,
|
||||
"format_version": "1.2",
|
||||
"planned_values": {
|
||||
"root_module": {
|
||||
"resources": [
|
||||
@ -232,5 +233,6 @@
|
||||
"provider_name": "registry.terraform.io/hashicorp/tfcoremock",
|
||||
"type": "tfcoremock_multiple_blocks"
|
||||
}
|
||||
]
|
||||
],
|
||||
"timestamp": "2023-08-24T12:33:30Z"
|
||||
}
|
@ -2,7 +2,7 @@
|
||||
{
|
||||
"@level": "info",
|
||||
"@message": "tfcoremock_nested_list.nested_list: Plan to create",
|
||||
"@module": "terraform.ui",
|
||||
"@module": "opentf.ui",
|
||||
"change": {
|
||||
"action": "create",
|
||||
"resource": {
|
||||
@ -20,7 +20,7 @@
|
||||
{
|
||||
"@level": "info",
|
||||
"@message": "tfcoremock_nested_list.nested_list: Creating...",
|
||||
"@module": "terraform.ui",
|
||||
"@module": "opentf.ui",
|
||||
"hook": {
|
||||
"action": "create",
|
||||
"resource": {
|
||||
@ -38,7 +38,7 @@
|
||||
{
|
||||
"@level": "info",
|
||||
"@message": "tfcoremock_nested_list.nested_list: Creation complete after 0s [id=DA051126-BAD6-4EB2-92E5-F0250DAF0B92]",
|
||||
"@module": "terraform.ui",
|
||||
"@module": "opentf.ui",
|
||||
"hook": {
|
||||
"action": "create",
|
||||
"elapsed_seconds": 0,
|
||||
@ -59,10 +59,11 @@
|
||||
{
|
||||
"@level": "info",
|
||||
"@message": "Apply complete! Resources: 1 added, 0 changed, 0 destroyed.",
|
||||
"@module": "terraform.ui",
|
||||
"@module": "opentf.ui",
|
||||
"changes": {
|
||||
"add": 1,
|
||||
"change": 0,
|
||||
"import": 0,
|
||||
"operation": "apply",
|
||||
"remove": 0
|
||||
},
|
||||
@ -71,7 +72,7 @@
|
||||
{
|
||||
"@level": "info",
|
||||
"@message": "Outputs: 0",
|
||||
"@module": "terraform.ui",
|
||||
"@module": "opentf.ui",
|
||||
"outputs": {},
|
||||
"type": "outputs"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
|
||||
OpenTF used the selected providers to generate the following execution
|
||||
plan. Resource actions are indicated with the following symbols:
|
||||
OpenTF 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:
|
||||
|
@ -37,7 +37,8 @@
|
||||
]
|
||||
}
|
||||
},
|
||||
"format_version": "1.1",
|
||||
"errored": false,
|
||||
"format_version": "1.2",
|
||||
"planned_values": {
|
||||
"root_module": {
|
||||
"resources": [
|
||||
@ -118,5 +119,6 @@
|
||||
"provider_name": "registry.terraform.io/hashicorp/tfcoremock",
|
||||
"type": "tfcoremock_nested_list"
|
||||
}
|
||||
]
|
||||
],
|
||||
"timestamp": "2023-08-24T12:33:30Z"
|
||||
}
|
@ -2,7 +2,7 @@
|
||||
{
|
||||
"@level": "info",
|
||||
"@message": "tfcoremock_nested_list.nested_list: Plan to update",
|
||||
"@module": "terraform.ui",
|
||||
"@module": "opentf.ui",
|
||||
"change": {
|
||||
"action": "update",
|
||||
"resource": {
|
||||
@ -20,7 +20,7 @@
|
||||
{
|
||||
"@level": "info",
|
||||
"@message": "tfcoremock_nested_list.nested_list: Modifying... [id=DA051126-BAD6-4EB2-92E5-F0250DAF0B92]",
|
||||
"@module": "terraform.ui",
|
||||
"@module": "opentf.ui",
|
||||
"hook": {
|
||||
"action": "update",
|
||||
"id_key": "id",
|
||||
@ -40,7 +40,7 @@
|
||||
{
|
||||
"@level": "info",
|
||||
"@message": "tfcoremock_nested_list.nested_list: Modifications complete after 0s [id=DA051126-BAD6-4EB2-92E5-F0250DAF0B92]",
|
||||
"@module": "terraform.ui",
|
||||
"@module": "opentf.ui",
|
||||
"hook": {
|
||||
"action": "update",
|
||||
"elapsed_seconds": 0,
|
||||
@ -61,10 +61,11 @@
|
||||
{
|
||||
"@level": "info",
|
||||
"@message": "Apply complete! Resources: 0 added, 1 changed, 0 destroyed.",
|
||||
"@module": "terraform.ui",
|
||||
"@module": "opentf.ui",
|
||||
"changes": {
|
||||
"add": 0,
|
||||
"change": 1,
|
||||
"import": 0,
|
||||
"operation": "apply",
|
||||
"remove": 0
|
||||
},
|
||||
@ -73,7 +74,7 @@
|
||||
{
|
||||
"@level": "info",
|
||||
"@message": "Outputs: 0",
|
||||
"@module": "terraform.ui",
|
||||
"@module": "opentf.ui",
|
||||
"outputs": {},
|
||||
"type": "outputs"
|
||||
}
|
||||
|
@ -1,7 +1,7 @@
|
||||
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:
|
||||
OpenTF used the selected providers to generate the following execution plan.
|
||||
Resource actions are indicated with the following symbols:
|
||||
~ update in-place
|
||||
|
||||
OpenTF will perform the following actions:
|
||||
|
@ -38,7 +38,8 @@
|
||||
]
|
||||
}
|
||||
},
|
||||
"format_version": "1.1",
|
||||
"errored": false,
|
||||
"format_version": "1.2",
|
||||
"planned_values": {
|
||||
"root_module": {
|
||||
"resources": [
|
||||
@ -188,5 +189,6 @@
|
||||
"provider_name": "registry.terraform.io/hashicorp/tfcoremock",
|
||||
"type": "tfcoremock_nested_list"
|
||||
}
|
||||
]
|
||||
],
|
||||
"timestamp": "2023-08-24T12:33:30Z"
|
||||
}
|
@ -2,7 +2,7 @@
|
||||
{
|
||||
"@level": "info",
|
||||
"@message": "tfcoremock_nested_map.nested_map: Plan to create",
|
||||
"@module": "terraform.ui",
|
||||
"@module": "opentf.ui",
|
||||
"change": {
|
||||
"action": "create",
|
||||
"resource": {
|
||||
@ -20,7 +20,7 @@
|
||||
{
|
||||
"@level": "info",
|
||||
"@message": "tfcoremock_nested_map.nested_map: Creating...",
|
||||
"@module": "terraform.ui",
|
||||
"@module": "opentf.ui",
|
||||
"hook": {
|
||||
"action": "create",
|
||||
"resource": {
|
||||
@ -38,7 +38,7 @@
|
||||
{
|
||||
"@level": "info",
|
||||
"@message": "tfcoremock_nested_map.nested_map: Creation complete after 0s [id=502B0348-B796-4F6A-8694-A5A397237B85]",
|
||||
"@module": "terraform.ui",
|
||||
"@module": "opentf.ui",
|
||||
"hook": {
|
||||
"action": "create",
|
||||
"elapsed_seconds": 0,
|
||||
@ -59,10 +59,11 @@
|
||||
{
|
||||
"@level": "info",
|
||||
"@message": "Apply complete! Resources: 1 added, 0 changed, 0 destroyed.",
|
||||
"@module": "terraform.ui",
|
||||
"@module": "opentf.ui",
|
||||
"changes": {
|
||||
"add": 1,
|
||||
"change": 0,
|
||||
"import": 0,
|
||||
"operation": "apply",
|
||||
"remove": 0
|
||||
},
|
||||
@ -71,7 +72,7 @@
|
||||
{
|
||||
"@level": "info",
|
||||
"@message": "Outputs: 0",
|
||||
"@module": "terraform.ui",
|
||||
"@module": "opentf.ui",
|
||||
"outputs": {},
|
||||
"type": "outputs"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
|
||||
Terraform used the selected providers to generate the following execution
|
||||
plan. Resource actions are indicated with the following symbols:
|
||||
OpenTF 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:
|
||||
@ -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"
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user