Add more equivalence test cases (#32296)

This commit is contained in:
Liam Cervante 2022-11-29 12:36:52 +01:00 committed by GitHub
parent ec6451a82a
commit c1633436b8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
110 changed files with 5500 additions and 20 deletions

View File

@ -0,0 +1,192 @@
[
{
"@level": "info",
"@message": "tfcoremock_map.map: Plan to create",
"@module": "terraform.ui",
"change": {
"action": "create",
"resource": {
"addr": "tfcoremock_map.map",
"implied_provider": "tfcoremock",
"module": "",
"resource": "tfcoremock_map.map",
"resource_key": null,
"resource_name": "map",
"resource_type": "tfcoremock_map"
}
},
"type": "planned_change"
},
{
"@level": "info",
"@message": "tfcoremock_set.set: Plan to create",
"@module": "terraform.ui",
"change": {
"action": "create",
"resource": {
"addr": "tfcoremock_set.set",
"implied_provider": "tfcoremock",
"module": "",
"resource": "tfcoremock_set.set",
"resource_key": null,
"resource_name": "set",
"resource_type": "tfcoremock_set"
}
},
"type": "planned_change"
},
{
"@level": "info",
"@message": "tfcoremock_list.list: Plan to create",
"@module": "terraform.ui",
"change": {
"action": "create",
"resource": {
"addr": "tfcoremock_list.list",
"implied_provider": "tfcoremock",
"module": "",
"resource": "tfcoremock_list.list",
"resource_key": null,
"resource_name": "list",
"resource_type": "tfcoremock_list"
}
},
"type": "planned_change"
},
{
"@level": "info",
"@message": "tfcoremock_list.list: Creating...",
"@module": "terraform.ui",
"hook": {
"action": "create",
"resource": {
"addr": "tfcoremock_list.list",
"implied_provider": "tfcoremock",
"module": "",
"resource": "tfcoremock_list.list",
"resource_key": null,
"resource_name": "list",
"resource_type": "tfcoremock_list"
}
},
"type": "apply_start"
},
{
"@level": "info",
"@message": "tfcoremock_map.map: Creating...",
"@module": "terraform.ui",
"hook": {
"action": "create",
"resource": {
"addr": "tfcoremock_map.map",
"implied_provider": "tfcoremock",
"module": "",
"resource": "tfcoremock_map.map",
"resource_key": null,
"resource_name": "map",
"resource_type": "tfcoremock_map"
}
},
"type": "apply_start"
},
{
"@level": "info",
"@message": "tfcoremock_set.set: Creating...",
"@module": "terraform.ui",
"hook": {
"action": "create",
"resource": {
"addr": "tfcoremock_set.set",
"implied_provider": "tfcoremock",
"module": "",
"resource": "tfcoremock_set.set",
"resource_key": null,
"resource_name": "set",
"resource_type": "tfcoremock_set"
}
},
"type": "apply_start"
},
{
"@level": "info",
"@message": "tfcoremock_map.map: Creation complete after 0s [id=50E1A46E-E64A-4C1F-881C-BA85A5440964]",
"@module": "terraform.ui",
"hook": {
"action": "create",
"elapsed_seconds": 0,
"id_key": "id",
"id_value": "50E1A46E-E64A-4C1F-881C-BA85A5440964",
"resource": {
"addr": "tfcoremock_map.map",
"implied_provider": "tfcoremock",
"module": "",
"resource": "tfcoremock_map.map",
"resource_key": null,
"resource_name": "map",
"resource_type": "tfcoremock_map"
}
},
"type": "apply_complete"
},
{
"@level": "info",
"@message": "tfcoremock_set.set: Creation complete after 0s [id=046952C9-B832-4106-82C0-C217F7C73E18]",
"@module": "terraform.ui",
"hook": {
"action": "create",
"elapsed_seconds": 0,
"id_key": "id",
"id_value": "046952C9-B832-4106-82C0-C217F7C73E18",
"resource": {
"addr": "tfcoremock_set.set",
"implied_provider": "tfcoremock",
"module": "",
"resource": "tfcoremock_set.set",
"resource_key": null,
"resource_name": "set",
"resource_type": "tfcoremock_set"
}
},
"type": "apply_complete"
},
{
"@level": "info",
"@message": "tfcoremock_list.list: Creation complete after 0s [id=985820B3-ACF9-4F00-94AD-F81C5EA33663]",
"@module": "terraform.ui",
"hook": {
"action": "create",
"elapsed_seconds": 0,
"id_key": "id",
"id_value": "985820B3-ACF9-4F00-94AD-F81C5EA33663",
"resource": {
"addr": "tfcoremock_list.list",
"implied_provider": "tfcoremock",
"module": "",
"resource": "tfcoremock_list.list",
"resource_key": null,
"resource_name": "list",
"resource_type": "tfcoremock_list"
}
},
"type": "apply_complete"
},
{
"@level": "info",
"@message": "Apply complete! Resources: 3 added, 0 changed, 0 destroyed.",
"@module": "terraform.ui",
"changes": {
"add": 3,
"change": 0,
"operation": "apply",
"remove": 0
},
"type": "change_summary"
},
{
"@level": "info",
"@message": "Outputs: 0",
"@module": "terraform.ui",
"outputs": {},
"type": "outputs"
}
]

View File

@ -0,0 +1,45 @@
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:
# tfcoremock_list.list will be created
+ resource "tfcoremock_list" "list" {
+ id = "985820B3-ACF9-4F00-94AD-F81C5EA33663"
+ list = [
+ "9C2BE420-042D-440A-96E9-75565341C994",
+ "3EC6EB1F-E372-46C3-A069-00D6E82EC1E1",
+ "D01290F6-2D3A-45FA-B006-DAA80F6D31F6",
]
}
# tfcoremock_map.map will be created
+ resource "tfcoremock_map" "map" {
+ id = "50E1A46E-E64A-4C1F-881C-BA85A5440964"
+ map = {
+ "one" = "682672C7-0918-4448-8342-887BAE01062A"
+ "two" = "212FFBF6-40FE-4862-B708-E6AA508E84E0"
+ "zero" = "6B044AF7-172B-495B-BE11-B9546C12C3BD"
}
}
# tfcoremock_set.set will be created
+ resource "tfcoremock_set" "set" {
+ id = "046952C9-B832-4106-82C0-C217F7C73E18"
+ set = [
+ "41471135-E14C-4946-BFA4-2626C7E2A94A",
+ "C04762B9-D07B-40FE-A92B-B72AD342658D",
+ "D8F7EA80-9E25-4DD7-8D97-797D2080952B",
]
}
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"

View File

@ -0,0 +1,235 @@
{
"configuration": {
"provider_config": {
"tfcoremock": {
"full_name": "registry.terraform.io/hashicorp/tfcoremock",
"name": "tfcoremock",
"version_constraint": "0.1.1"
}
},
"root_module": {
"resources": [
{
"address": "tfcoremock_list.list",
"expressions": {
"id": {
"constant_value": "985820B3-ACF9-4F00-94AD-F81C5EA33663"
},
"list": {
"constant_value": [
"9C2BE420-042D-440A-96E9-75565341C994",
"3EC6EB1F-E372-46C3-A069-00D6E82EC1E1",
"D01290F6-2D3A-45FA-B006-DAA80F6D31F6"
]
}
},
"mode": "managed",
"name": "list",
"provider_config_key": "tfcoremock",
"schema_version": 0,
"type": "tfcoremock_list"
},
{
"address": "tfcoremock_map.map",
"expressions": {
"id": {
"constant_value": "50E1A46E-E64A-4C1F-881C-BA85A5440964"
},
"map": {
"constant_value": {
"one": "682672C7-0918-4448-8342-887BAE01062A",
"two": "212FFBF6-40FE-4862-B708-E6AA508E84E0",
"zero": "6B044AF7-172B-495B-BE11-B9546C12C3BD"
}
}
},
"mode": "managed",
"name": "map",
"provider_config_key": "tfcoremock",
"schema_version": 0,
"type": "tfcoremock_map"
},
{
"address": "tfcoremock_set.set",
"expressions": {
"id": {
"constant_value": "046952C9-B832-4106-82C0-C217F7C73E18"
},
"set": {
"constant_value": [
"41471135-E14C-4946-BFA4-2626C7E2A94A",
"C04762B9-D07B-40FE-A92B-B72AD342658D",
"D8F7EA80-9E25-4DD7-8D97-797D2080952B"
]
}
},
"mode": "managed",
"name": "set",
"provider_config_key": "tfcoremock",
"schema_version": 0,
"type": "tfcoremock_set"
}
]
}
},
"format_version": "1.1",
"planned_values": {
"root_module": {
"resources": [
{
"address": "tfcoremock_list.list",
"mode": "managed",
"name": "list",
"provider_name": "registry.terraform.io/hashicorp/tfcoremock",
"schema_version": 0,
"sensitive_values": {
"list": [
false,
false,
false
]
},
"type": "tfcoremock_list",
"values": {
"id": "985820B3-ACF9-4F00-94AD-F81C5EA33663",
"list": [
"9C2BE420-042D-440A-96E9-75565341C994",
"3EC6EB1F-E372-46C3-A069-00D6E82EC1E1",
"D01290F6-2D3A-45FA-B006-DAA80F6D31F6"
]
}
},
{
"address": "tfcoremock_map.map",
"mode": "managed",
"name": "map",
"provider_name": "registry.terraform.io/hashicorp/tfcoremock",
"schema_version": 0,
"sensitive_values": {
"map": {}
},
"type": "tfcoremock_map",
"values": {
"id": "50E1A46E-E64A-4C1F-881C-BA85A5440964",
"map": {
"one": "682672C7-0918-4448-8342-887BAE01062A",
"two": "212FFBF6-40FE-4862-B708-E6AA508E84E0",
"zero": "6B044AF7-172B-495B-BE11-B9546C12C3BD"
}
}
},
{
"address": "tfcoremock_set.set",
"mode": "managed",
"name": "set",
"provider_name": "registry.terraform.io/hashicorp/tfcoremock",
"schema_version": 0,
"sensitive_values": {
"set": [
false,
false,
false
]
},
"type": "tfcoremock_set",
"values": {
"id": "046952C9-B832-4106-82C0-C217F7C73E18",
"set": [
"41471135-E14C-4946-BFA4-2626C7E2A94A",
"C04762B9-D07B-40FE-A92B-B72AD342658D",
"D8F7EA80-9E25-4DD7-8D97-797D2080952B"
]
}
}
]
}
},
"resource_changes": [
{
"address": "tfcoremock_list.list",
"change": {
"actions": [
"create"
],
"after": {
"id": "985820B3-ACF9-4F00-94AD-F81C5EA33663",
"list": [
"9C2BE420-042D-440A-96E9-75565341C994",
"3EC6EB1F-E372-46C3-A069-00D6E82EC1E1",
"D01290F6-2D3A-45FA-B006-DAA80F6D31F6"
]
},
"after_sensitive": {
"list": [
false,
false,
false
]
},
"after_unknown": {},
"before": null,
"before_sensitive": false
},
"mode": "managed",
"name": "list",
"provider_name": "registry.terraform.io/hashicorp/tfcoremock",
"type": "tfcoremock_list"
},
{
"address": "tfcoremock_map.map",
"change": {
"actions": [
"create"
],
"after": {
"id": "50E1A46E-E64A-4C1F-881C-BA85A5440964",
"map": {
"one": "682672C7-0918-4448-8342-887BAE01062A",
"two": "212FFBF6-40FE-4862-B708-E6AA508E84E0",
"zero": "6B044AF7-172B-495B-BE11-B9546C12C3BD"
}
},
"after_sensitive": {
"map": {}
},
"after_unknown": {},
"before": null,
"before_sensitive": false
},
"mode": "managed",
"name": "map",
"provider_name": "registry.terraform.io/hashicorp/tfcoremock",
"type": "tfcoremock_map"
},
{
"address": "tfcoremock_set.set",
"change": {
"actions": [
"create"
],
"after": {
"id": "046952C9-B832-4106-82C0-C217F7C73E18",
"set": [
"41471135-E14C-4946-BFA4-2626C7E2A94A",
"C04762B9-D07B-40FE-A92B-B72AD342658D",
"D8F7EA80-9E25-4DD7-8D97-797D2080952B"
]
},
"after_sensitive": {
"set": [
false,
false,
false
]
},
"after_unknown": {},
"before": null,
"before_sensitive": false
},
"mode": "managed",
"name": "set",
"provider_name": "registry.terraform.io/hashicorp/tfcoremock",
"type": "tfcoremock_set"
}
]
}

View File

@ -0,0 +1,74 @@
{
"format_version": "1.0",
"values": {
"root_module": {
"resources": [
{
"address": "tfcoremock_list.list",
"mode": "managed",
"name": "list",
"provider_name": "registry.terraform.io/hashicorp/tfcoremock",
"schema_version": 0,
"sensitive_values": {
"list": [
false,
false,
false
]
},
"type": "tfcoremock_list",
"values": {
"id": "985820B3-ACF9-4F00-94AD-F81C5EA33663",
"list": [
"9C2BE420-042D-440A-96E9-75565341C994",
"3EC6EB1F-E372-46C3-A069-00D6E82EC1E1",
"D01290F6-2D3A-45FA-B006-DAA80F6D31F6"
]
}
},
{
"address": "tfcoremock_map.map",
"mode": "managed",
"name": "map",
"provider_name": "registry.terraform.io/hashicorp/tfcoremock",
"schema_version": 0,
"sensitive_values": {
"map": {}
},
"type": "tfcoremock_map",
"values": {
"id": "50E1A46E-E64A-4C1F-881C-BA85A5440964",
"map": {
"one": "682672C7-0918-4448-8342-887BAE01062A",
"two": "212FFBF6-40FE-4862-B708-E6AA508E84E0",
"zero": "6B044AF7-172B-495B-BE11-B9546C12C3BD"
}
}
},
{
"address": "tfcoremock_set.set",
"mode": "managed",
"name": "set",
"provider_name": "registry.terraform.io/hashicorp/tfcoremock",
"schema_version": 0,
"sensitive_values": {
"set": [
false,
false,
false
]
},
"type": "tfcoremock_set",
"values": {
"id": "046952C9-B832-4106-82C0-C217F7C73E18",
"set": [
"41471135-E14C-4946-BFA4-2626C7E2A94A",
"C04762B9-D07B-40FE-A92B-B72AD342658D",
"D8F7EA80-9E25-4DD7-8D97-797D2080952B"
]
}
}
]
}
}
}

View File

@ -0,0 +1,198 @@
[
{
"@level": "info",
"@message": "tfcoremock_list.list: Plan to update",
"@module": "terraform.ui",
"change": {
"action": "update",
"resource": {
"addr": "tfcoremock_list.list",
"implied_provider": "tfcoremock",
"module": "",
"resource": "tfcoremock_list.list",
"resource_key": null,
"resource_name": "list",
"resource_type": "tfcoremock_list"
}
},
"type": "planned_change"
},
{
"@level": "info",
"@message": "tfcoremock_map.map: Plan to update",
"@module": "terraform.ui",
"change": {
"action": "update",
"resource": {
"addr": "tfcoremock_map.map",
"implied_provider": "tfcoremock",
"module": "",
"resource": "tfcoremock_map.map",
"resource_key": null,
"resource_name": "map",
"resource_type": "tfcoremock_map"
}
},
"type": "planned_change"
},
{
"@level": "info",
"@message": "tfcoremock_set.set: Plan to update",
"@module": "terraform.ui",
"change": {
"action": "update",
"resource": {
"addr": "tfcoremock_set.set",
"implied_provider": "tfcoremock",
"module": "",
"resource": "tfcoremock_set.set",
"resource_key": null,
"resource_name": "set",
"resource_type": "tfcoremock_set"
}
},
"type": "planned_change"
},
{
"@level": "info",
"@message": "tfcoremock_map.map: Modifying... [id=50E1A46E-E64A-4C1F-881C-BA85A5440964]",
"@module": "terraform.ui",
"hook": {
"action": "update",
"id_key": "id",
"id_value": "50E1A46E-E64A-4C1F-881C-BA85A5440964",
"resource": {
"addr": "tfcoremock_map.map",
"implied_provider": "tfcoremock",
"module": "",
"resource": "tfcoremock_map.map",
"resource_key": null,
"resource_name": "map",
"resource_type": "tfcoremock_map"
}
},
"type": "apply_start"
},
{
"@level": "info",
"@message": "tfcoremock_list.list: Modifying... [id=985820B3-ACF9-4F00-94AD-F81C5EA33663]",
"@module": "terraform.ui",
"hook": {
"action": "update",
"id_key": "id",
"id_value": "985820B3-ACF9-4F00-94AD-F81C5EA33663",
"resource": {
"addr": "tfcoremock_list.list",
"implied_provider": "tfcoremock",
"module": "",
"resource": "tfcoremock_list.list",
"resource_key": null,
"resource_name": "list",
"resource_type": "tfcoremock_list"
}
},
"type": "apply_start"
},
{
"@level": "info",
"@message": "tfcoremock_set.set: Modifying... [id=046952C9-B832-4106-82C0-C217F7C73E18]",
"@module": "terraform.ui",
"hook": {
"action": "update",
"id_key": "id",
"id_value": "046952C9-B832-4106-82C0-C217F7C73E18",
"resource": {
"addr": "tfcoremock_set.set",
"implied_provider": "tfcoremock",
"module": "",
"resource": "tfcoremock_set.set",
"resource_key": null,
"resource_name": "set",
"resource_type": "tfcoremock_set"
}
},
"type": "apply_start"
},
{
"@level": "info",
"@message": "tfcoremock_map.map: Modifications complete after 0s [id=50E1A46E-E64A-4C1F-881C-BA85A5440964]",
"@module": "terraform.ui",
"hook": {
"action": "update",
"elapsed_seconds": 0,
"id_key": "id",
"id_value": "50E1A46E-E64A-4C1F-881C-BA85A5440964",
"resource": {
"addr": "tfcoremock_map.map",
"implied_provider": "tfcoremock",
"module": "",
"resource": "tfcoremock_map.map",
"resource_key": null,
"resource_name": "map",
"resource_type": "tfcoremock_map"
}
},
"type": "apply_complete"
},
{
"@level": "info",
"@message": "tfcoremock_set.set: Modifications complete after 0s [id=046952C9-B832-4106-82C0-C217F7C73E18]",
"@module": "terraform.ui",
"hook": {
"action": "update",
"elapsed_seconds": 0,
"id_key": "id",
"id_value": "046952C9-B832-4106-82C0-C217F7C73E18",
"resource": {
"addr": "tfcoremock_set.set",
"implied_provider": "tfcoremock",
"module": "",
"resource": "tfcoremock_set.set",
"resource_key": null,
"resource_name": "set",
"resource_type": "tfcoremock_set"
}
},
"type": "apply_complete"
},
{
"@level": "info",
"@message": "tfcoremock_list.list: Modifications complete after 0s [id=985820B3-ACF9-4F00-94AD-F81C5EA33663]",
"@module": "terraform.ui",
"hook": {
"action": "update",
"elapsed_seconds": 0,
"id_key": "id",
"id_value": "985820B3-ACF9-4F00-94AD-F81C5EA33663",
"resource": {
"addr": "tfcoremock_list.list",
"implied_provider": "tfcoremock",
"module": "",
"resource": "tfcoremock_list.list",
"resource_key": null,
"resource_name": "list",
"resource_type": "tfcoremock_list"
}
},
"type": "apply_complete"
},
{
"@level": "info",
"@message": "Apply complete! Resources: 0 added, 3 changed, 0 destroyed.",
"@module": "terraform.ui",
"changes": {
"add": 0,
"change": 3,
"operation": "apply",
"remove": 0
},
"type": "change_summary"
},
{
"@level": "info",
"@message": "Outputs: 0",
"@module": "terraform.ui",
"outputs": {},
"type": "outputs"
}
]

View File

@ -0,0 +1,48 @@
tfcoremock_list.list: Refreshing state... [id=985820B3-ACF9-4F00-94AD-F81C5EA33663]
tfcoremock_set.set: Refreshing state... [id=046952C9-B832-4106-82C0-C217F7C73E18]
tfcoremock_map.map: Refreshing state... [id=50E1A46E-E64A-4C1F-881C-BA85A5440964]
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:
# tfcoremock_list.list will be updated in-place
~ resource "tfcoremock_list" "list" {
id = "985820B3-ACF9-4F00-94AD-F81C5EA33663"
~ list = [
- "9C2BE420-042D-440A-96E9-75565341C994",
- "3EC6EB1F-E372-46C3-A069-00D6E82EC1E1",
- "D01290F6-2D3A-45FA-B006-DAA80F6D31F6",
]
}
# tfcoremock_map.map will be updated in-place
~ resource "tfcoremock_map" "map" {
id = "50E1A46E-E64A-4C1F-881C-BA85A5440964"
~ map = {
- "one" = "682672C7-0918-4448-8342-887BAE01062A" -> null
- "two" = "212FFBF6-40FE-4862-B708-E6AA508E84E0" -> null
- "zero" = "6B044AF7-172B-495B-BE11-B9546C12C3BD" -> null
}
}
# tfcoremock_set.set will be updated in-place
~ resource "tfcoremock_set" "set" {
id = "046952C9-B832-4106-82C0-C217F7C73E18"
~ set = [
- "41471135-E14C-4946-BFA4-2626C7E2A94A",
- "C04762B9-D07B-40FE-A92B-B72AD342658D",
- "D8F7EA80-9E25-4DD7-8D97-797D2080952B",
]
}
Plan: 0 to add, 3 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"

View File

@ -0,0 +1,292 @@
{
"configuration": {
"provider_config": {
"tfcoremock": {
"full_name": "registry.terraform.io/hashicorp/tfcoremock",
"name": "tfcoremock",
"version_constraint": "0.1.1"
}
},
"root_module": {
"resources": [
{
"address": "tfcoremock_list.list",
"expressions": {
"id": {
"constant_value": "985820B3-ACF9-4F00-94AD-F81C5EA33663"
},
"list": {
"constant_value": []
}
},
"mode": "managed",
"name": "list",
"provider_config_key": "tfcoremock",
"schema_version": 0,
"type": "tfcoremock_list"
},
{
"address": "tfcoremock_map.map",
"expressions": {
"id": {
"constant_value": "50E1A46E-E64A-4C1F-881C-BA85A5440964"
},
"map": {
"constant_value": {}
}
},
"mode": "managed",
"name": "map",
"provider_config_key": "tfcoremock",
"schema_version": 0,
"type": "tfcoremock_map"
},
{
"address": "tfcoremock_set.set",
"expressions": {
"id": {
"constant_value": "046952C9-B832-4106-82C0-C217F7C73E18"
},
"set": {
"constant_value": []
}
},
"mode": "managed",
"name": "set",
"provider_config_key": "tfcoremock",
"schema_version": 0,
"type": "tfcoremock_set"
}
]
}
},
"format_version": "1.1",
"planned_values": {
"root_module": {
"resources": [
{
"address": "tfcoremock_list.list",
"mode": "managed",
"name": "list",
"provider_name": "registry.terraform.io/hashicorp/tfcoremock",
"schema_version": 0,
"sensitive_values": {
"list": []
},
"type": "tfcoremock_list",
"values": {
"id": "985820B3-ACF9-4F00-94AD-F81C5EA33663",
"list": []
}
},
{
"address": "tfcoremock_map.map",
"mode": "managed",
"name": "map",
"provider_name": "registry.terraform.io/hashicorp/tfcoremock",
"schema_version": 0,
"sensitive_values": {
"map": {}
},
"type": "tfcoremock_map",
"values": {
"id": "50E1A46E-E64A-4C1F-881C-BA85A5440964",
"map": {}
}
},
{
"address": "tfcoremock_set.set",
"mode": "managed",
"name": "set",
"provider_name": "registry.terraform.io/hashicorp/tfcoremock",
"schema_version": 0,
"sensitive_values": {
"set": []
},
"type": "tfcoremock_set",
"values": {
"id": "046952C9-B832-4106-82C0-C217F7C73E18",
"set": []
}
}
]
}
},
"prior_state": {
"format_version": "1.0",
"values": {
"root_module": {
"resources": [
{
"address": "tfcoremock_list.list",
"mode": "managed",
"name": "list",
"provider_name": "registry.terraform.io/hashicorp/tfcoremock",
"schema_version": 0,
"sensitive_values": {
"list": [
false,
false,
false
]
},
"type": "tfcoremock_list",
"values": {
"id": "985820B3-ACF9-4F00-94AD-F81C5EA33663",
"list": [
"9C2BE420-042D-440A-96E9-75565341C994",
"3EC6EB1F-E372-46C3-A069-00D6E82EC1E1",
"D01290F6-2D3A-45FA-B006-DAA80F6D31F6"
]
}
},
{
"address": "tfcoremock_map.map",
"mode": "managed",
"name": "map",
"provider_name": "registry.terraform.io/hashicorp/tfcoremock",
"schema_version": 0,
"sensitive_values": {
"map": {}
},
"type": "tfcoremock_map",
"values": {
"id": "50E1A46E-E64A-4C1F-881C-BA85A5440964",
"map": {
"one": "682672C7-0918-4448-8342-887BAE01062A",
"two": "212FFBF6-40FE-4862-B708-E6AA508E84E0",
"zero": "6B044AF7-172B-495B-BE11-B9546C12C3BD"
}
}
},
{
"address": "tfcoremock_set.set",
"mode": "managed",
"name": "set",
"provider_name": "registry.terraform.io/hashicorp/tfcoremock",
"schema_version": 0,
"sensitive_values": {
"set": [
false,
false,
false
]
},
"type": "tfcoremock_set",
"values": {
"id": "046952C9-B832-4106-82C0-C217F7C73E18",
"set": [
"41471135-E14C-4946-BFA4-2626C7E2A94A",
"C04762B9-D07B-40FE-A92B-B72AD342658D",
"D8F7EA80-9E25-4DD7-8D97-797D2080952B"
]
}
}
]
}
}
},
"resource_changes": [
{
"address": "tfcoremock_list.list",
"change": {
"actions": [
"update"
],
"after": {
"id": "985820B3-ACF9-4F00-94AD-F81C5EA33663",
"list": []
},
"after_sensitive": {
"list": []
},
"after_unknown": {},
"before": {
"id": "985820B3-ACF9-4F00-94AD-F81C5EA33663",
"list": [
"9C2BE420-042D-440A-96E9-75565341C994",
"3EC6EB1F-E372-46C3-A069-00D6E82EC1E1",
"D01290F6-2D3A-45FA-B006-DAA80F6D31F6"
]
},
"before_sensitive": {
"list": [
false,
false,
false
]
}
},
"mode": "managed",
"name": "list",
"provider_name": "registry.terraform.io/hashicorp/tfcoremock",
"type": "tfcoremock_list"
},
{
"address": "tfcoremock_map.map",
"change": {
"actions": [
"update"
],
"after": {
"id": "50E1A46E-E64A-4C1F-881C-BA85A5440964",
"map": {}
},
"after_sensitive": {
"map": {}
},
"after_unknown": {},
"before": {
"id": "50E1A46E-E64A-4C1F-881C-BA85A5440964",
"map": {
"one": "682672C7-0918-4448-8342-887BAE01062A",
"two": "212FFBF6-40FE-4862-B708-E6AA508E84E0",
"zero": "6B044AF7-172B-495B-BE11-B9546C12C3BD"
}
},
"before_sensitive": {
"map": {}
}
},
"mode": "managed",
"name": "map",
"provider_name": "registry.terraform.io/hashicorp/tfcoremock",
"type": "tfcoremock_map"
},
{
"address": "tfcoremock_set.set",
"change": {
"actions": [
"update"
],
"after": {
"id": "046952C9-B832-4106-82C0-C217F7C73E18",
"set": []
},
"after_sensitive": {
"set": []
},
"after_unknown": {},
"before": {
"id": "046952C9-B832-4106-82C0-C217F7C73E18",
"set": [
"41471135-E14C-4946-BFA4-2626C7E2A94A",
"C04762B9-D07B-40FE-A92B-B72AD342658D",
"D8F7EA80-9E25-4DD7-8D97-797D2080952B"
]
},
"before_sensitive": {
"set": [
false,
false,
false
]
}
},
"mode": "managed",
"name": "set",
"provider_name": "registry.terraform.io/hashicorp/tfcoremock",
"type": "tfcoremock_set"
}
]
}

View File

@ -0,0 +1,54 @@
{
"format_version": "1.0",
"values": {
"root_module": {
"resources": [
{
"address": "tfcoremock_list.list",
"mode": "managed",
"name": "list",
"provider_name": "registry.terraform.io/hashicorp/tfcoremock",
"schema_version": 0,
"sensitive_values": {
"list": []
},
"type": "tfcoremock_list",
"values": {
"id": "985820B3-ACF9-4F00-94AD-F81C5EA33663",
"list": []
}
},
{
"address": "tfcoremock_map.map",
"mode": "managed",
"name": "map",
"provider_name": "registry.terraform.io/hashicorp/tfcoremock",
"schema_version": 0,
"sensitive_values": {
"map": {}
},
"type": "tfcoremock_map",
"values": {
"id": "50E1A46E-E64A-4C1F-881C-BA85A5440964",
"map": {}
}
},
{
"address": "tfcoremock_set.set",
"mode": "managed",
"name": "set",
"provider_name": "registry.terraform.io/hashicorp/tfcoremock",
"schema_version": 0,
"sensitive_values": {
"set": []
},
"type": "tfcoremock_set",
"values": {
"id": "046952C9-B832-4106-82C0-C217F7C73E18",
"set": []
}
}
]
}
}
}

View File

@ -0,0 +1,198 @@
[
{
"@level": "info",
"@message": "tfcoremock_list.list: Plan to update",
"@module": "terraform.ui",
"change": {
"action": "update",
"resource": {
"addr": "tfcoremock_list.list",
"implied_provider": "tfcoremock",
"module": "",
"resource": "tfcoremock_list.list",
"resource_key": null,
"resource_name": "list",
"resource_type": "tfcoremock_list"
}
},
"type": "planned_change"
},
{
"@level": "info",
"@message": "tfcoremock_map.map: Plan to update",
"@module": "terraform.ui",
"change": {
"action": "update",
"resource": {
"addr": "tfcoremock_map.map",
"implied_provider": "tfcoremock",
"module": "",
"resource": "tfcoremock_map.map",
"resource_key": null,
"resource_name": "map",
"resource_type": "tfcoremock_map"
}
},
"type": "planned_change"
},
{
"@level": "info",
"@message": "tfcoremock_set.set: Plan to update",
"@module": "terraform.ui",
"change": {
"action": "update",
"resource": {
"addr": "tfcoremock_set.set",
"implied_provider": "tfcoremock",
"module": "",
"resource": "tfcoremock_set.set",
"resource_key": null,
"resource_name": "set",
"resource_type": "tfcoremock_set"
}
},
"type": "planned_change"
},
{
"@level": "info",
"@message": "tfcoremock_map.map: Modifying... [id=50E1A46E-E64A-4C1F-881C-BA85A5440964]",
"@module": "terraform.ui",
"hook": {
"action": "update",
"id_key": "id",
"id_value": "50E1A46E-E64A-4C1F-881C-BA85A5440964",
"resource": {
"addr": "tfcoremock_map.map",
"implied_provider": "tfcoremock",
"module": "",
"resource": "tfcoremock_map.map",
"resource_key": null,
"resource_name": "map",
"resource_type": "tfcoremock_map"
}
},
"type": "apply_start"
},
{
"@level": "info",
"@message": "tfcoremock_set.set: Modifying... [id=046952C9-B832-4106-82C0-C217F7C73E18]",
"@module": "terraform.ui",
"hook": {
"action": "update",
"id_key": "id",
"id_value": "046952C9-B832-4106-82C0-C217F7C73E18",
"resource": {
"addr": "tfcoremock_set.set",
"implied_provider": "tfcoremock",
"module": "",
"resource": "tfcoremock_set.set",
"resource_key": null,
"resource_name": "set",
"resource_type": "tfcoremock_set"
}
},
"type": "apply_start"
},
{
"@level": "info",
"@message": "tfcoremock_list.list: Modifying... [id=985820B3-ACF9-4F00-94AD-F81C5EA33663]",
"@module": "terraform.ui",
"hook": {
"action": "update",
"id_key": "id",
"id_value": "985820B3-ACF9-4F00-94AD-F81C5EA33663",
"resource": {
"addr": "tfcoremock_list.list",
"implied_provider": "tfcoremock",
"module": "",
"resource": "tfcoremock_list.list",
"resource_key": null,
"resource_name": "list",
"resource_type": "tfcoremock_list"
}
},
"type": "apply_start"
},
{
"@level": "info",
"@message": "tfcoremock_list.list: Modifications complete after 0s [id=985820B3-ACF9-4F00-94AD-F81C5EA33663]",
"@module": "terraform.ui",
"hook": {
"action": "update",
"elapsed_seconds": 0,
"id_key": "id",
"id_value": "985820B3-ACF9-4F00-94AD-F81C5EA33663",
"resource": {
"addr": "tfcoremock_list.list",
"implied_provider": "tfcoremock",
"module": "",
"resource": "tfcoremock_list.list",
"resource_key": null,
"resource_name": "list",
"resource_type": "tfcoremock_list"
}
},
"type": "apply_complete"
},
{
"@level": "info",
"@message": "tfcoremock_set.set: Modifications complete after 0s [id=046952C9-B832-4106-82C0-C217F7C73E18]",
"@module": "terraform.ui",
"hook": {
"action": "update",
"elapsed_seconds": 0,
"id_key": "id",
"id_value": "046952C9-B832-4106-82C0-C217F7C73E18",
"resource": {
"addr": "tfcoremock_set.set",
"implied_provider": "tfcoremock",
"module": "",
"resource": "tfcoremock_set.set",
"resource_key": null,
"resource_name": "set",
"resource_type": "tfcoremock_set"
}
},
"type": "apply_complete"
},
{
"@level": "info",
"@message": "tfcoremock_map.map: Modifications complete after 0s [id=50E1A46E-E64A-4C1F-881C-BA85A5440964]",
"@module": "terraform.ui",
"hook": {
"action": "update",
"elapsed_seconds": 0,
"id_key": "id",
"id_value": "50E1A46E-E64A-4C1F-881C-BA85A5440964",
"resource": {
"addr": "tfcoremock_map.map",
"implied_provider": "tfcoremock",
"module": "",
"resource": "tfcoremock_map.map",
"resource_key": null,
"resource_name": "map",
"resource_type": "tfcoremock_map"
}
},
"type": "apply_complete"
},
{
"@level": "info",
"@message": "Apply complete! Resources: 0 added, 3 changed, 0 destroyed.",
"@module": "terraform.ui",
"changes": {
"add": 0,
"change": 3,
"operation": "apply",
"remove": 0
},
"type": "change_summary"
},
{
"@level": "info",
"@message": "Outputs: 0",
"@module": "terraform.ui",
"outputs": {},
"type": "outputs"
}
]

View File

@ -0,0 +1,48 @@
tfcoremock_list.list: Refreshing state... [id=985820B3-ACF9-4F00-94AD-F81C5EA33663]
tfcoremock_set.set: Refreshing state... [id=046952C9-B832-4106-82C0-C217F7C73E18]
tfcoremock_map.map: Refreshing state... [id=50E1A46E-E64A-4C1F-881C-BA85A5440964]
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:
# tfcoremock_list.list will be updated in-place
~ resource "tfcoremock_list" "list" {
id = "985820B3-ACF9-4F00-94AD-F81C5EA33663"
- list = [
- "9C2BE420-042D-440A-96E9-75565341C994",
- "3EC6EB1F-E372-46C3-A069-00D6E82EC1E1",
- "D01290F6-2D3A-45FA-B006-DAA80F6D31F6",
] -> null
}
# tfcoremock_map.map will be updated in-place
~ resource "tfcoremock_map" "map" {
id = "50E1A46E-E64A-4C1F-881C-BA85A5440964"
- map = {
- "one" = "682672C7-0918-4448-8342-887BAE01062A"
- "two" = "212FFBF6-40FE-4862-B708-E6AA508E84E0"
- "zero" = "6B044AF7-172B-495B-BE11-B9546C12C3BD"
} -> null
}
# tfcoremock_set.set will be updated in-place
~ resource "tfcoremock_set" "set" {
id = "046952C9-B832-4106-82C0-C217F7C73E18"
- set = [
- "41471135-E14C-4946-BFA4-2626C7E2A94A",
- "C04762B9-D07B-40FE-A92B-B72AD342658D",
- "D8F7EA80-9E25-4DD7-8D97-797D2080952B",
] -> null
}
Plan: 0 to add, 3 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"

View File

@ -0,0 +1,271 @@
{
"configuration": {
"provider_config": {
"tfcoremock": {
"full_name": "registry.terraform.io/hashicorp/tfcoremock",
"name": "tfcoremock",
"version_constraint": "0.1.1"
}
},
"root_module": {
"resources": [
{
"address": "tfcoremock_list.list",
"expressions": {
"id": {
"constant_value": "985820B3-ACF9-4F00-94AD-F81C5EA33663"
}
},
"mode": "managed",
"name": "list",
"provider_config_key": "tfcoremock",
"schema_version": 0,
"type": "tfcoremock_list"
},
{
"address": "tfcoremock_map.map",
"expressions": {
"id": {
"constant_value": "50E1A46E-E64A-4C1F-881C-BA85A5440964"
}
},
"mode": "managed",
"name": "map",
"provider_config_key": "tfcoremock",
"schema_version": 0,
"type": "tfcoremock_map"
},
{
"address": "tfcoremock_set.set",
"expressions": {
"id": {
"constant_value": "046952C9-B832-4106-82C0-C217F7C73E18"
}
},
"mode": "managed",
"name": "set",
"provider_config_key": "tfcoremock",
"schema_version": 0,
"type": "tfcoremock_set"
}
]
}
},
"format_version": "1.1",
"planned_values": {
"root_module": {
"resources": [
{
"address": "tfcoremock_list.list",
"mode": "managed",
"name": "list",
"provider_name": "registry.terraform.io/hashicorp/tfcoremock",
"schema_version": 0,
"sensitive_values": {},
"type": "tfcoremock_list",
"values": {
"id": "985820B3-ACF9-4F00-94AD-F81C5EA33663",
"list": null
}
},
{
"address": "tfcoremock_map.map",
"mode": "managed",
"name": "map",
"provider_name": "registry.terraform.io/hashicorp/tfcoremock",
"schema_version": 0,
"sensitive_values": {},
"type": "tfcoremock_map",
"values": {
"id": "50E1A46E-E64A-4C1F-881C-BA85A5440964",
"map": null
}
},
{
"address": "tfcoremock_set.set",
"mode": "managed",
"name": "set",
"provider_name": "registry.terraform.io/hashicorp/tfcoremock",
"schema_version": 0,
"sensitive_values": {},
"type": "tfcoremock_set",
"values": {
"id": "046952C9-B832-4106-82C0-C217F7C73E18",
"set": null
}
}
]
}
},
"prior_state": {
"format_version": "1.0",
"values": {
"root_module": {
"resources": [
{
"address": "tfcoremock_list.list",
"mode": "managed",
"name": "list",
"provider_name": "registry.terraform.io/hashicorp/tfcoremock",
"schema_version": 0,
"sensitive_values": {
"list": [
false,
false,
false
]
},
"type": "tfcoremock_list",
"values": {
"id": "985820B3-ACF9-4F00-94AD-F81C5EA33663",
"list": [
"9C2BE420-042D-440A-96E9-75565341C994",
"3EC6EB1F-E372-46C3-A069-00D6E82EC1E1",
"D01290F6-2D3A-45FA-B006-DAA80F6D31F6"
]
}
},
{
"address": "tfcoremock_map.map",
"mode": "managed",
"name": "map",
"provider_name": "registry.terraform.io/hashicorp/tfcoremock",
"schema_version": 0,
"sensitive_values": {
"map": {}
},
"type": "tfcoremock_map",
"values": {
"id": "50E1A46E-E64A-4C1F-881C-BA85A5440964",
"map": {
"one": "682672C7-0918-4448-8342-887BAE01062A",
"two": "212FFBF6-40FE-4862-B708-E6AA508E84E0",
"zero": "6B044AF7-172B-495B-BE11-B9546C12C3BD"
}
}
},
{
"address": "tfcoremock_set.set",
"mode": "managed",
"name": "set",
"provider_name": "registry.terraform.io/hashicorp/tfcoremock",
"schema_version": 0,
"sensitive_values": {
"set": [
false,
false,
false
]
},
"type": "tfcoremock_set",
"values": {
"id": "046952C9-B832-4106-82C0-C217F7C73E18",
"set": [
"41471135-E14C-4946-BFA4-2626C7E2A94A",
"C04762B9-D07B-40FE-A92B-B72AD342658D",
"D8F7EA80-9E25-4DD7-8D97-797D2080952B"
]
}
}
]
}
}
},
"resource_changes": [
{
"address": "tfcoremock_list.list",
"change": {
"actions": [
"update"
],
"after": {
"id": "985820B3-ACF9-4F00-94AD-F81C5EA33663",
"list": null
},
"after_sensitive": {},
"after_unknown": {},
"before": {
"id": "985820B3-ACF9-4F00-94AD-F81C5EA33663",
"list": [
"9C2BE420-042D-440A-96E9-75565341C994",
"3EC6EB1F-E372-46C3-A069-00D6E82EC1E1",
"D01290F6-2D3A-45FA-B006-DAA80F6D31F6"
]
},
"before_sensitive": {
"list": [
false,
false,
false
]
}
},
"mode": "managed",
"name": "list",
"provider_name": "registry.terraform.io/hashicorp/tfcoremock",
"type": "tfcoremock_list"
},
{
"address": "tfcoremock_map.map",
"change": {
"actions": [
"update"
],
"after": {
"id": "50E1A46E-E64A-4C1F-881C-BA85A5440964",
"map": null
},
"after_sensitive": {},
"after_unknown": {},
"before": {
"id": "50E1A46E-E64A-4C1F-881C-BA85A5440964",
"map": {
"one": "682672C7-0918-4448-8342-887BAE01062A",
"two": "212FFBF6-40FE-4862-B708-E6AA508E84E0",
"zero": "6B044AF7-172B-495B-BE11-B9546C12C3BD"
}
},
"before_sensitive": {
"map": {}
}
},
"mode": "managed",
"name": "map",
"provider_name": "registry.terraform.io/hashicorp/tfcoremock",
"type": "tfcoremock_map"
},
{
"address": "tfcoremock_set.set",
"change": {
"actions": [
"update"
],
"after": {
"id": "046952C9-B832-4106-82C0-C217F7C73E18",
"set": null
},
"after_sensitive": {},
"after_unknown": {},
"before": {
"id": "046952C9-B832-4106-82C0-C217F7C73E18",
"set": [
"41471135-E14C-4946-BFA4-2626C7E2A94A",
"C04762B9-D07B-40FE-A92B-B72AD342658D",
"D8F7EA80-9E25-4DD7-8D97-797D2080952B"
]
},
"before_sensitive": {
"set": [
false,
false,
false
]
}
},
"mode": "managed",
"name": "set",
"provider_name": "registry.terraform.io/hashicorp/tfcoremock",
"type": "tfcoremock_set"
}
]
}

View File

@ -0,0 +1,48 @@
{
"format_version": "1.0",
"values": {
"root_module": {
"resources": [
{
"address": "tfcoremock_list.list",
"mode": "managed",
"name": "list",
"provider_name": "registry.terraform.io/hashicorp/tfcoremock",
"schema_version": 0,
"sensitive_values": {},
"type": "tfcoremock_list",
"values": {
"id": "985820B3-ACF9-4F00-94AD-F81C5EA33663",
"list": null
}
},
{
"address": "tfcoremock_map.map",
"mode": "managed",
"name": "map",
"provider_name": "registry.terraform.io/hashicorp/tfcoremock",
"schema_version": 0,
"sensitive_values": {},
"type": "tfcoremock_map",
"values": {
"id": "50E1A46E-E64A-4C1F-881C-BA85A5440964",
"map": null
}
},
{
"address": "tfcoremock_set.set",
"mode": "managed",
"name": "set",
"provider_name": "registry.terraform.io/hashicorp/tfcoremock",
"schema_version": 0,
"sensitive_values": {},
"type": "tfcoremock_set",
"values": {
"id": "046952C9-B832-4106-82C0-C217F7C73E18",
"set": null
}
}
]
}
}
}

View File

@ -0,0 +1,198 @@
[
{
"@level": "info",
"@message": "tfcoremock_map.map: Plan to update",
"@module": "terraform.ui",
"change": {
"action": "update",
"resource": {
"addr": "tfcoremock_map.map",
"implied_provider": "tfcoremock",
"module": "",
"resource": "tfcoremock_map.map",
"resource_key": null,
"resource_name": "map",
"resource_type": "tfcoremock_map"
}
},
"type": "planned_change"
},
{
"@level": "info",
"@message": "tfcoremock_list.list: Plan to update",
"@module": "terraform.ui",
"change": {
"action": "update",
"resource": {
"addr": "tfcoremock_list.list",
"implied_provider": "tfcoremock",
"module": "",
"resource": "tfcoremock_list.list",
"resource_key": null,
"resource_name": "list",
"resource_type": "tfcoremock_list"
}
},
"type": "planned_change"
},
{
"@level": "info",
"@message": "tfcoremock_set.set: Plan to update",
"@module": "terraform.ui",
"change": {
"action": "update",
"resource": {
"addr": "tfcoremock_set.set",
"implied_provider": "tfcoremock",
"module": "",
"resource": "tfcoremock_set.set",
"resource_key": null,
"resource_name": "set",
"resource_type": "tfcoremock_set"
}
},
"type": "planned_change"
},
{
"@level": "info",
"@message": "tfcoremock_list.list: Modifying... [id=985820B3-ACF9-4F00-94AD-F81C5EA33663]",
"@module": "terraform.ui",
"hook": {
"action": "update",
"id_key": "id",
"id_value": "985820B3-ACF9-4F00-94AD-F81C5EA33663",
"resource": {
"addr": "tfcoremock_list.list",
"implied_provider": "tfcoremock",
"module": "",
"resource": "tfcoremock_list.list",
"resource_key": null,
"resource_name": "list",
"resource_type": "tfcoremock_list"
}
},
"type": "apply_start"
},
{
"@level": "info",
"@message": "tfcoremock_set.set: Modifying... [id=046952C9-B832-4106-82C0-C217F7C73E18]",
"@module": "terraform.ui",
"hook": {
"action": "update",
"id_key": "id",
"id_value": "046952C9-B832-4106-82C0-C217F7C73E18",
"resource": {
"addr": "tfcoremock_set.set",
"implied_provider": "tfcoremock",
"module": "",
"resource": "tfcoremock_set.set",
"resource_key": null,
"resource_name": "set",
"resource_type": "tfcoremock_set"
}
},
"type": "apply_start"
},
{
"@level": "info",
"@message": "tfcoremock_map.map: Modifying... [id=50E1A46E-E64A-4C1F-881C-BA85A5440964]",
"@module": "terraform.ui",
"hook": {
"action": "update",
"id_key": "id",
"id_value": "50E1A46E-E64A-4C1F-881C-BA85A5440964",
"resource": {
"addr": "tfcoremock_map.map",
"implied_provider": "tfcoremock",
"module": "",
"resource": "tfcoremock_map.map",
"resource_key": null,
"resource_name": "map",
"resource_type": "tfcoremock_map"
}
},
"type": "apply_start"
},
{
"@level": "info",
"@message": "tfcoremock_map.map: Modifications complete after 0s [id=50E1A46E-E64A-4C1F-881C-BA85A5440964]",
"@module": "terraform.ui",
"hook": {
"action": "update",
"elapsed_seconds": 0,
"id_key": "id",
"id_value": "50E1A46E-E64A-4C1F-881C-BA85A5440964",
"resource": {
"addr": "tfcoremock_map.map",
"implied_provider": "tfcoremock",
"module": "",
"resource": "tfcoremock_map.map",
"resource_key": null,
"resource_name": "map",
"resource_type": "tfcoremock_map"
}
},
"type": "apply_complete"
},
{
"@level": "info",
"@message": "tfcoremock_list.list: Modifications complete after 0s [id=985820B3-ACF9-4F00-94AD-F81C5EA33663]",
"@module": "terraform.ui",
"hook": {
"action": "update",
"elapsed_seconds": 0,
"id_key": "id",
"id_value": "985820B3-ACF9-4F00-94AD-F81C5EA33663",
"resource": {
"addr": "tfcoremock_list.list",
"implied_provider": "tfcoremock",
"module": "",
"resource": "tfcoremock_list.list",
"resource_key": null,
"resource_name": "list",
"resource_type": "tfcoremock_list"
}
},
"type": "apply_complete"
},
{
"@level": "info",
"@message": "tfcoremock_set.set: Modifications complete after 0s [id=046952C9-B832-4106-82C0-C217F7C73E18]",
"@module": "terraform.ui",
"hook": {
"action": "update",
"elapsed_seconds": 0,
"id_key": "id",
"id_value": "046952C9-B832-4106-82C0-C217F7C73E18",
"resource": {
"addr": "tfcoremock_set.set",
"implied_provider": "tfcoremock",
"module": "",
"resource": "tfcoremock_set.set",
"resource_key": null,
"resource_name": "set",
"resource_type": "tfcoremock_set"
}
},
"type": "apply_complete"
},
{
"@level": "info",
"@message": "Apply complete! Resources: 0 added, 3 changed, 0 destroyed.",
"@module": "terraform.ui",
"changes": {
"add": 0,
"change": 3,
"operation": "apply",
"remove": 0
},
"type": "change_summary"
},
{
"@level": "info",
"@message": "Outputs: 0",
"@module": "terraform.ui",
"outputs": {},
"type": "outputs"
}
]

View File

@ -0,0 +1,49 @@
tfcoremock_set.set: Refreshing state... [id=046952C9-B832-4106-82C0-C217F7C73E18]
tfcoremock_list.list: Refreshing state... [id=985820B3-ACF9-4F00-94AD-F81C5EA33663]
tfcoremock_map.map: Refreshing state... [id=50E1A46E-E64A-4C1F-881C-BA85A5440964]
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:
# tfcoremock_list.list will be updated in-place
~ resource "tfcoremock_list" "list" {
id = "985820B3-ACF9-4F00-94AD-F81C5EA33663"
~ list = [
"9C2BE420-042D-440A-96E9-75565341C994",
- "3EC6EB1F-E372-46C3-A069-00D6E82EC1E1",
"D01290F6-2D3A-45FA-B006-DAA80F6D31F6",
+ "9B9F3ADF-8AD4-4E8C-AFE4-7BC2413E9AC0",
]
}
# tfcoremock_map.map will be updated in-place
~ resource "tfcoremock_map" "map" {
id = "50E1A46E-E64A-4C1F-881C-BA85A5440964"
~ map = {
+ "four" = "D820D482-7C2C-4EF3-8935-863168A193F9"
- "one" = "682672C7-0918-4448-8342-887BAE01062A" -> null
# (2 unchanged elements hidden)
}
}
# tfcoremock_set.set will be updated in-place
~ resource "tfcoremock_set" "set" {
id = "046952C9-B832-4106-82C0-C217F7C73E18"
~ set = [
+ "1769B76E-12F0-4214-A864-E843EB23B64E",
- "C04762B9-D07B-40FE-A92B-B72AD342658D",
# (2 unchanged elements hidden)
]
}
Plan: 0 to add, 3 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"

View File

@ -0,0 +1,344 @@
{
"configuration": {
"provider_config": {
"tfcoremock": {
"full_name": "registry.terraform.io/hashicorp/tfcoremock",
"name": "tfcoremock",
"version_constraint": "0.1.1"
}
},
"root_module": {
"resources": [
{
"address": "tfcoremock_list.list",
"expressions": {
"id": {
"constant_value": "985820B3-ACF9-4F00-94AD-F81C5EA33663"
},
"list": {
"constant_value": [
"9C2BE420-042D-440A-96E9-75565341C994",
"D01290F6-2D3A-45FA-B006-DAA80F6D31F6",
"9B9F3ADF-8AD4-4E8C-AFE4-7BC2413E9AC0"
]
}
},
"mode": "managed",
"name": "list",
"provider_config_key": "tfcoremock",
"schema_version": 0,
"type": "tfcoremock_list"
},
{
"address": "tfcoremock_map.map",
"expressions": {
"id": {
"constant_value": "50E1A46E-E64A-4C1F-881C-BA85A5440964"
},
"map": {
"constant_value": {
"four": "D820D482-7C2C-4EF3-8935-863168A193F9",
"two": "212FFBF6-40FE-4862-B708-E6AA508E84E0",
"zero": "6B044AF7-172B-495B-BE11-B9546C12C3BD"
}
}
},
"mode": "managed",
"name": "map",
"provider_config_key": "tfcoremock",
"schema_version": 0,
"type": "tfcoremock_map"
},
{
"address": "tfcoremock_set.set",
"expressions": {
"id": {
"constant_value": "046952C9-B832-4106-82C0-C217F7C73E18"
},
"set": {
"constant_value": [
"41471135-E14C-4946-BFA4-2626C7E2A94A",
"D8F7EA80-9E25-4DD7-8D97-797D2080952B",
"1769B76E-12F0-4214-A864-E843EB23B64E"
]
}
},
"mode": "managed",
"name": "set",
"provider_config_key": "tfcoremock",
"schema_version": 0,
"type": "tfcoremock_set"
}
]
}
},
"format_version": "1.1",
"planned_values": {
"root_module": {
"resources": [
{
"address": "tfcoremock_list.list",
"mode": "managed",
"name": "list",
"provider_name": "registry.terraform.io/hashicorp/tfcoremock",
"schema_version": 0,
"sensitive_values": {
"list": [
false,
false,
false
]
},
"type": "tfcoremock_list",
"values": {
"id": "985820B3-ACF9-4F00-94AD-F81C5EA33663",
"list": [
"9C2BE420-042D-440A-96E9-75565341C994",
"D01290F6-2D3A-45FA-B006-DAA80F6D31F6",
"9B9F3ADF-8AD4-4E8C-AFE4-7BC2413E9AC0"
]
}
},
{
"address": "tfcoremock_map.map",
"mode": "managed",
"name": "map",
"provider_name": "registry.terraform.io/hashicorp/tfcoremock",
"schema_version": 0,
"sensitive_values": {
"map": {}
},
"type": "tfcoremock_map",
"values": {
"id": "50E1A46E-E64A-4C1F-881C-BA85A5440964",
"map": {
"four": "D820D482-7C2C-4EF3-8935-863168A193F9",
"two": "212FFBF6-40FE-4862-B708-E6AA508E84E0",
"zero": "6B044AF7-172B-495B-BE11-B9546C12C3BD"
}
}
},
{
"address": "tfcoremock_set.set",
"mode": "managed",
"name": "set",
"provider_name": "registry.terraform.io/hashicorp/tfcoremock",
"schema_version": 0,
"sensitive_values": {
"set": [
false,
false,
false
]
},
"type": "tfcoremock_set",
"values": {
"id": "046952C9-B832-4106-82C0-C217F7C73E18",
"set": [
"1769B76E-12F0-4214-A864-E843EB23B64E",
"41471135-E14C-4946-BFA4-2626C7E2A94A",
"D8F7EA80-9E25-4DD7-8D97-797D2080952B"
]
}
}
]
}
},
"prior_state": {
"format_version": "1.0",
"values": {
"root_module": {
"resources": [
{
"address": "tfcoremock_list.list",
"mode": "managed",
"name": "list",
"provider_name": "registry.terraform.io/hashicorp/tfcoremock",
"schema_version": 0,
"sensitive_values": {
"list": [
false,
false,
false
]
},
"type": "tfcoremock_list",
"values": {
"id": "985820B3-ACF9-4F00-94AD-F81C5EA33663",
"list": [
"9C2BE420-042D-440A-96E9-75565341C994",
"3EC6EB1F-E372-46C3-A069-00D6E82EC1E1",
"D01290F6-2D3A-45FA-B006-DAA80F6D31F6"
]
}
},
{
"address": "tfcoremock_map.map",
"mode": "managed",
"name": "map",
"provider_name": "registry.terraform.io/hashicorp/tfcoremock",
"schema_version": 0,
"sensitive_values": {
"map": {}
},
"type": "tfcoremock_map",
"values": {
"id": "50E1A46E-E64A-4C1F-881C-BA85A5440964",
"map": {
"one": "682672C7-0918-4448-8342-887BAE01062A",
"two": "212FFBF6-40FE-4862-B708-E6AA508E84E0",
"zero": "6B044AF7-172B-495B-BE11-B9546C12C3BD"
}
}
},
{
"address": "tfcoremock_set.set",
"mode": "managed",
"name": "set",
"provider_name": "registry.terraform.io/hashicorp/tfcoremock",
"schema_version": 0,
"sensitive_values": {
"set": [
false,
false,
false
]
},
"type": "tfcoremock_set",
"values": {
"id": "046952C9-B832-4106-82C0-C217F7C73E18",
"set": [
"41471135-E14C-4946-BFA4-2626C7E2A94A",
"C04762B9-D07B-40FE-A92B-B72AD342658D",
"D8F7EA80-9E25-4DD7-8D97-797D2080952B"
]
}
}
]
}
}
},
"resource_changes": [
{
"address": "tfcoremock_list.list",
"change": {
"actions": [
"update"
],
"after": {
"id": "985820B3-ACF9-4F00-94AD-F81C5EA33663",
"list": [
"9C2BE420-042D-440A-96E9-75565341C994",
"D01290F6-2D3A-45FA-B006-DAA80F6D31F6",
"9B9F3ADF-8AD4-4E8C-AFE4-7BC2413E9AC0"
]
},
"after_sensitive": {
"list": [
false,
false,
false
]
},
"after_unknown": {},
"before": {
"id": "985820B3-ACF9-4F00-94AD-F81C5EA33663",
"list": [
"9C2BE420-042D-440A-96E9-75565341C994",
"3EC6EB1F-E372-46C3-A069-00D6E82EC1E1",
"D01290F6-2D3A-45FA-B006-DAA80F6D31F6"
]
},
"before_sensitive": {
"list": [
false,
false,
false
]
}
},
"mode": "managed",
"name": "list",
"provider_name": "registry.terraform.io/hashicorp/tfcoremock",
"type": "tfcoremock_list"
},
{
"address": "tfcoremock_map.map",
"change": {
"actions": [
"update"
],
"after": {
"id": "50E1A46E-E64A-4C1F-881C-BA85A5440964",
"map": {
"four": "D820D482-7C2C-4EF3-8935-863168A193F9",
"two": "212FFBF6-40FE-4862-B708-E6AA508E84E0",
"zero": "6B044AF7-172B-495B-BE11-B9546C12C3BD"
}
},
"after_sensitive": {
"map": {}
},
"after_unknown": {},
"before": {
"id": "50E1A46E-E64A-4C1F-881C-BA85A5440964",
"map": {
"one": "682672C7-0918-4448-8342-887BAE01062A",
"two": "212FFBF6-40FE-4862-B708-E6AA508E84E0",
"zero": "6B044AF7-172B-495B-BE11-B9546C12C3BD"
}
},
"before_sensitive": {
"map": {}
}
},
"mode": "managed",
"name": "map",
"provider_name": "registry.terraform.io/hashicorp/tfcoremock",
"type": "tfcoremock_map"
},
{
"address": "tfcoremock_set.set",
"change": {
"actions": [
"update"
],
"after": {
"id": "046952C9-B832-4106-82C0-C217F7C73E18",
"set": [
"1769B76E-12F0-4214-A864-E843EB23B64E",
"41471135-E14C-4946-BFA4-2626C7E2A94A",
"D8F7EA80-9E25-4DD7-8D97-797D2080952B"
]
},
"after_sensitive": {
"set": [
false,
false,
false
]
},
"after_unknown": {},
"before": {
"id": "046952C9-B832-4106-82C0-C217F7C73E18",
"set": [
"41471135-E14C-4946-BFA4-2626C7E2A94A",
"C04762B9-D07B-40FE-A92B-B72AD342658D",
"D8F7EA80-9E25-4DD7-8D97-797D2080952B"
]
},
"before_sensitive": {
"set": [
false,
false,
false
]
}
},
"mode": "managed",
"name": "set",
"provider_name": "registry.terraform.io/hashicorp/tfcoremock",
"type": "tfcoremock_set"
}
]
}

View File

@ -0,0 +1,74 @@
{
"format_version": "1.0",
"values": {
"root_module": {
"resources": [
{
"address": "tfcoremock_list.list",
"mode": "managed",
"name": "list",
"provider_name": "registry.terraform.io/hashicorp/tfcoremock",
"schema_version": 0,
"sensitive_values": {
"list": [
false,
false,
false
]
},
"type": "tfcoremock_list",
"values": {
"id": "985820B3-ACF9-4F00-94AD-F81C5EA33663",
"list": [
"9C2BE420-042D-440A-96E9-75565341C994",
"D01290F6-2D3A-45FA-B006-DAA80F6D31F6",
"9B9F3ADF-8AD4-4E8C-AFE4-7BC2413E9AC0"
]
}
},
{
"address": "tfcoremock_map.map",
"mode": "managed",
"name": "map",
"provider_name": "registry.terraform.io/hashicorp/tfcoremock",
"schema_version": 0,
"sensitive_values": {
"map": {}
},
"type": "tfcoremock_map",
"values": {
"id": "50E1A46E-E64A-4C1F-881C-BA85A5440964",
"map": {
"four": "D820D482-7C2C-4EF3-8935-863168A193F9",
"two": "212FFBF6-40FE-4862-B708-E6AA508E84E0",
"zero": "6B044AF7-172B-495B-BE11-B9546C12C3BD"
}
}
},
{
"address": "tfcoremock_set.set",
"mode": "managed",
"name": "set",
"provider_name": "registry.terraform.io/hashicorp/tfcoremock",
"schema_version": 0,
"sensitive_values": {
"set": [
false,
false,
false
]
},
"type": "tfcoremock_set",
"values": {
"id": "046952C9-B832-4106-82C0-C217F7C73E18",
"set": [
"1769B76E-12F0-4214-A864-E843EB23B64E",
"41471135-E14C-4946-BFA4-2626C7E2A94A",
"D8F7EA80-9E25-4DD7-8D97-797D2080952B"
]
}
}
]
}
}
}

View File

@ -4,7 +4,7 @@
"tfcoremock": {
"full_name": "registry.terraform.io/hashicorp/tfcoremock",
"name": "tfcoremock",
"version_constraint": "0.1.0"
"version_constraint": "0.1.1"
}
},
"root_module": {

View File

@ -4,7 +4,7 @@
"tfcoremock": {
"full_name": "registry.terraform.io/hashicorp/tfcoremock",
"name": "tfcoremock",
"version_constraint": "0.1.0"
"version_constraint": "0.1.1"
}
},
"root_module": {

View File

@ -4,7 +4,7 @@
"tfcoremock": {
"full_name": "registry.terraform.io/hashicorp/tfcoremock",
"name": "tfcoremock",
"version_constraint": "0.1.0"
"version_constraint": "0.1.1"
}
},
"root_module": {

View File

@ -4,7 +4,7 @@
"tfcoremock": {
"full_name": "registry.terraform.io/hashicorp/tfcoremock",
"name": "tfcoremock",
"version_constraint": "0.1.0"
"version_constraint": "0.1.1"
}
},
"root_module": {

View File

@ -4,7 +4,7 @@
"tfcoremock": {
"full_name": "registry.terraform.io/hashicorp/tfcoremock",
"name": "tfcoremock",
"version_constraint": "0.1.0"
"version_constraint": "0.1.1"
}
},
"root_module": {

View File

@ -4,7 +4,7 @@
"tfcoremock": {
"full_name": "registry.terraform.io/hashicorp/tfcoremock",
"name": "tfcoremock",
"version_constraint": "0.1.0"
"version_constraint": "0.1.1"
}
},
"root_module": {

View File

@ -4,7 +4,7 @@
"tfcoremock": {
"full_name": "registry.terraform.io/hashicorp/tfcoremock",
"name": "tfcoremock",
"version_constraint": "0.1.0"
"version_constraint": "0.1.1"
}
},
"root_module": {

View File

@ -4,7 +4,7 @@
"tfcoremock": {
"full_name": "registry.terraform.io/hashicorp/tfcoremock",
"name": "tfcoremock",
"version_constraint": "0.1.0"
"version_constraint": "0.1.1"
}
},
"root_module": {

View File

@ -4,7 +4,7 @@
"tfcoremock": {
"full_name": "registry.terraform.io/hashicorp/tfcoremock",
"name": "tfcoremock",
"version_constraint": "0.1.0"
"version_constraint": "0.1.1"
}
},
"root_module": {

View File

@ -4,7 +4,7 @@
"tfcoremock": {
"full_name": "registry.terraform.io/hashicorp/tfcoremock",
"name": "tfcoremock",
"version_constraint": "0.1.0"
"version_constraint": "0.1.1"
}
},
"root_module": {

View File

@ -0,0 +1,78 @@
[
{
"@level": "info",
"@message": "tfcoremock_object.object: Plan to create",
"@module": "terraform.ui",
"change": {
"action": "create",
"resource": {
"addr": "tfcoremock_object.object",
"implied_provider": "tfcoremock",
"module": "",
"resource": "tfcoremock_object.object",
"resource_key": null,
"resource_name": "object",
"resource_type": "tfcoremock_object"
}
},
"type": "planned_change"
},
{
"@level": "info",
"@message": "tfcoremock_object.object: Creating...",
"@module": "terraform.ui",
"hook": {
"action": "create",
"resource": {
"addr": "tfcoremock_object.object",
"implied_provider": "tfcoremock",
"module": "",
"resource": "tfcoremock_object.object",
"resource_key": null,
"resource_name": "object",
"resource_type": "tfcoremock_object"
}
},
"type": "apply_start"
},
{
"@level": "info",
"@message": "tfcoremock_object.object: Creation complete after 0s [id=AF9833AE-3434-4D0B-8B69-F4B992565D9F]",
"@module": "terraform.ui",
"hook": {
"action": "create",
"elapsed_seconds": 0,
"id_key": "id",
"id_value": "AF9833AE-3434-4D0B-8B69-F4B992565D9F",
"resource": {
"addr": "tfcoremock_object.object",
"implied_provider": "tfcoremock",
"module": "",
"resource": "tfcoremock_object.object",
"resource_key": null,
"resource_name": "object",
"resource_type": "tfcoremock_object"
}
},
"type": "apply_complete"
},
{
"@level": "info",
"@message": "Apply complete! Resources: 1 added, 0 changed, 0 destroyed.",
"@module": "terraform.ui",
"changes": {
"add": 1,
"change": 0,
"operation": "apply",
"remove": 0
},
"type": "change_summary"
},
{
"@level": "info",
"@message": "Outputs: 0",
"@module": "terraform.ui",
"outputs": {},
"type": "outputs"
}
]

View File

@ -0,0 +1,25 @@
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:
# tfcoremock_object.object will be created
+ resource "tfcoremock_object" "object" {
+ id = "AF9833AE-3434-4D0B-8B69-F4B992565D9F"
+ object = {
+ boolean = true
+ number = 10
+ string = "Hello, world!"
}
}
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"

View File

@ -0,0 +1,89 @@
{
"configuration": {
"provider_config": {
"tfcoremock": {
"full_name": "registry.terraform.io/hashicorp/tfcoremock",
"name": "tfcoremock",
"version_constraint": "0.1.1"
}
},
"root_module": {
"resources": [
{
"address": "tfcoremock_object.object",
"expressions": {
"id": {
"constant_value": "AF9833AE-3434-4D0B-8B69-F4B992565D9F"
},
"object": {
"constant_value": {
"boolean": true,
"number": 10,
"string": "Hello, world!"
}
}
},
"mode": "managed",
"name": "object",
"provider_config_key": "tfcoremock",
"schema_version": 0,
"type": "tfcoremock_object"
}
]
}
},
"format_version": "1.1",
"planned_values": {
"root_module": {
"resources": [
{
"address": "tfcoremock_object.object",
"mode": "managed",
"name": "object",
"provider_name": "registry.terraform.io/hashicorp/tfcoremock",
"schema_version": 0,
"sensitive_values": {
"object": {}
},
"type": "tfcoremock_object",
"values": {
"id": "AF9833AE-3434-4D0B-8B69-F4B992565D9F",
"object": {
"boolean": true,
"number": 10,
"string": "Hello, world!"
}
}
}
]
}
},
"resource_changes": [
{
"address": "tfcoremock_object.object",
"change": {
"actions": [
"create"
],
"after": {
"id": "AF9833AE-3434-4D0B-8B69-F4B992565D9F",
"object": {
"boolean": true,
"number": 10,
"string": "Hello, world!"
}
},
"after_sensitive": {
"object": {}
},
"after_unknown": {},
"before": null,
"before_sensitive": false
},
"mode": "managed",
"name": "object",
"provider_name": "registry.terraform.io/hashicorp/tfcoremock",
"type": "tfcoremock_object"
}
]
}

View File

@ -0,0 +1,28 @@
{
"format_version": "1.0",
"values": {
"root_module": {
"resources": [
{
"address": "tfcoremock_object.object",
"mode": "managed",
"name": "object",
"provider_name": "registry.terraform.io/hashicorp/tfcoremock",
"schema_version": 0,
"sensitive_values": {
"object": {}
},
"type": "tfcoremock_object",
"values": {
"id": "AF9833AE-3434-4D0B-8B69-F4B992565D9F",
"object": {
"boolean": true,
"number": 10,
"string": "Hello, world!"
}
}
}
]
}
}
}

View File

@ -0,0 +1,80 @@
[
{
"@level": "info",
"@message": "tfcoremock_object.object: Plan to update",
"@module": "terraform.ui",
"change": {
"action": "update",
"resource": {
"addr": "tfcoremock_object.object",
"implied_provider": "tfcoremock",
"module": "",
"resource": "tfcoremock_object.object",
"resource_key": null,
"resource_name": "object",
"resource_type": "tfcoremock_object"
}
},
"type": "planned_change"
},
{
"@level": "info",
"@message": "tfcoremock_object.object: Modifying... [id=00e14fba-4d56-6cc5-b685-633555376e3f]",
"@module": "terraform.ui",
"hook": {
"action": "update",
"id_key": "id",
"id_value": "00e14fba-4d56-6cc5-b685-633555376e3f",
"resource": {
"addr": "tfcoremock_object.object",
"implied_provider": "tfcoremock",
"module": "",
"resource": "tfcoremock_object.object",
"resource_key": null,
"resource_name": "object",
"resource_type": "tfcoremock_object"
}
},
"type": "apply_start"
},
{
"@level": "info",
"@message": "tfcoremock_object.object: Modifications complete after 0s [id=00e14fba-4d56-6cc5-b685-633555376e3f]",
"@module": "terraform.ui",
"hook": {
"action": "update",
"elapsed_seconds": 0,
"id_key": "id",
"id_value": "00e14fba-4d56-6cc5-b685-633555376e3f",
"resource": {
"addr": "tfcoremock_object.object",
"implied_provider": "tfcoremock",
"module": "",
"resource": "tfcoremock_object.object",
"resource_key": null,
"resource_name": "object",
"resource_type": "tfcoremock_object"
}
},
"type": "apply_complete"
},
{
"@level": "info",
"@message": "Apply complete! Resources: 0 added, 1 changed, 0 destroyed.",
"@module": "terraform.ui",
"changes": {
"add": 0,
"change": 1,
"operation": "apply",
"remove": 0
},
"type": "change_summary"
},
{
"@level": "info",
"@message": "Outputs: 0",
"@module": "terraform.ui",
"outputs": {},
"type": "outputs"
}
]

View File

@ -0,0 +1,26 @@
tfcoremock_object.object: Refreshing state... [id=00e14fba-4d56-6cc5-b685-633555376e3f]
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:
# tfcoremock_object.object will be updated in-place
~ resource "tfcoremock_object" "object" {
id = "00e14fba-4d56-6cc5-b685-633555376e3f"
~ object = {
- boolean = true -> null
- number = 10 -> null
- string = "Hello, world!" -> null
}
}
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"

View File

@ -0,0 +1,119 @@
{
"configuration": {
"provider_config": {
"tfcoremock": {
"full_name": "registry.terraform.io/hashicorp/tfcoremock",
"name": "tfcoremock",
"version_constraint": "0.1.1"
}
},
"root_module": {
"resources": [
{
"address": "tfcoremock_object.object",
"expressions": {
"object": {
"constant_value": {}
}
},
"mode": "managed",
"name": "object",
"provider_config_key": "tfcoremock",
"schema_version": 0,
"type": "tfcoremock_object"
}
]
}
},
"format_version": "1.1",
"planned_values": {
"root_module": {
"resources": [
{
"address": "tfcoremock_object.object",
"mode": "managed",
"name": "object",
"provider_name": "registry.terraform.io/hashicorp/tfcoremock",
"schema_version": 0,
"sensitive_values": {
"object": {}
},
"type": "tfcoremock_object",
"values": {
"id": "00e14fba-4d56-6cc5-b685-633555376e3f",
"object": {
"boolean": null,
"number": null,
"string": null
}
}
}
]
}
},
"prior_state": {
"format_version": "1.0",
"values": {
"root_module": {
"resources": [
{
"address": "tfcoremock_object.object",
"mode": "managed",
"name": "object",
"provider_name": "registry.terraform.io/hashicorp/tfcoremock",
"schema_version": 0,
"sensitive_values": {
"object": {}
},
"type": "tfcoremock_object",
"values": {
"id": "00e14fba-4d56-6cc5-b685-633555376e3f",
"object": {
"boolean": true,
"number": 10,
"string": "Hello, world!"
}
}
}
]
}
}
},
"resource_changes": [
{
"address": "tfcoremock_object.object",
"change": {
"actions": [
"update"
],
"after": {
"id": "00e14fba-4d56-6cc5-b685-633555376e3f",
"object": {
"boolean": null,
"number": null,
"string": null
}
},
"after_sensitive": {
"object": {}
},
"after_unknown": {},
"before": {
"id": "00e14fba-4d56-6cc5-b685-633555376e3f",
"object": {
"boolean": true,
"number": 10,
"string": "Hello, world!"
}
},
"before_sensitive": {
"object": {}
}
},
"mode": "managed",
"name": "object",
"provider_name": "registry.terraform.io/hashicorp/tfcoremock",
"type": "tfcoremock_object"
}
]
}

View File

@ -0,0 +1,28 @@
{
"format_version": "1.0",
"values": {
"root_module": {
"resources": [
{
"address": "tfcoremock_object.object",
"mode": "managed",
"name": "object",
"provider_name": "registry.terraform.io/hashicorp/tfcoremock",
"schema_version": 0,
"sensitive_values": {
"object": {}
},
"type": "tfcoremock_object",
"values": {
"id": "00e14fba-4d56-6cc5-b685-633555376e3f",
"object": {
"boolean": null,
"number": null,
"string": null
}
}
}
]
}
}
}

View File

@ -0,0 +1,80 @@
[
{
"@level": "info",
"@message": "tfcoremock_object.object: Plan to update",
"@module": "terraform.ui",
"change": {
"action": "update",
"resource": {
"addr": "tfcoremock_object.object",
"implied_provider": "tfcoremock",
"module": "",
"resource": "tfcoremock_object.object",
"resource_key": null,
"resource_name": "object",
"resource_type": "tfcoremock_object"
}
},
"type": "planned_change"
},
{
"@level": "info",
"@message": "tfcoremock_object.object: Modifying... [id=00e14fba-4d56-6cc5-b685-633555376e3f]",
"@module": "terraform.ui",
"hook": {
"action": "update",
"id_key": "id",
"id_value": "00e14fba-4d56-6cc5-b685-633555376e3f",
"resource": {
"addr": "tfcoremock_object.object",
"implied_provider": "tfcoremock",
"module": "",
"resource": "tfcoremock_object.object",
"resource_key": null,
"resource_name": "object",
"resource_type": "tfcoremock_object"
}
},
"type": "apply_start"
},
{
"@level": "info",
"@message": "tfcoremock_object.object: Modifications complete after 0s [id=00e14fba-4d56-6cc5-b685-633555376e3f]",
"@module": "terraform.ui",
"hook": {
"action": "update",
"elapsed_seconds": 0,
"id_key": "id",
"id_value": "00e14fba-4d56-6cc5-b685-633555376e3f",
"resource": {
"addr": "tfcoremock_object.object",
"implied_provider": "tfcoremock",
"module": "",
"resource": "tfcoremock_object.object",
"resource_key": null,
"resource_name": "object",
"resource_type": "tfcoremock_object"
}
},
"type": "apply_complete"
},
{
"@level": "info",
"@message": "Apply complete! Resources: 0 added, 1 changed, 0 destroyed.",
"@module": "terraform.ui",
"changes": {
"add": 0,
"change": 1,
"operation": "apply",
"remove": 0
},
"type": "change_summary"
},
{
"@level": "info",
"@message": "Outputs: 0",
"@module": "terraform.ui",
"outputs": {},
"type": "outputs"
}
]

View File

@ -0,0 +1,26 @@
tfcoremock_object.object: Refreshing state... [id=00e14fba-4d56-6cc5-b685-633555376e3f]
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:
# tfcoremock_object.object will be updated in-place
~ resource "tfcoremock_object" "object" {
id = "00e14fba-4d56-6cc5-b685-633555376e3f"
- object = {
- boolean = true -> null
- number = 10 -> null
- string = "Hello, world!" -> null
} -> null
}
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"

View File

@ -0,0 +1,102 @@
{
"configuration": {
"provider_config": {
"tfcoremock": {
"full_name": "registry.terraform.io/hashicorp/tfcoremock",
"name": "tfcoremock",
"version_constraint": "0.1.1"
}
},
"root_module": {
"resources": [
{
"address": "tfcoremock_object.object",
"mode": "managed",
"name": "object",
"provider_config_key": "tfcoremock",
"schema_version": 0,
"type": "tfcoremock_object"
}
]
}
},
"format_version": "1.1",
"planned_values": {
"root_module": {
"resources": [
{
"address": "tfcoremock_object.object",
"mode": "managed",
"name": "object",
"provider_name": "registry.terraform.io/hashicorp/tfcoremock",
"schema_version": 0,
"sensitive_values": {},
"type": "tfcoremock_object",
"values": {
"id": "00e14fba-4d56-6cc5-b685-633555376e3f",
"object": null
}
}
]
}
},
"prior_state": {
"format_version": "1.0",
"values": {
"root_module": {
"resources": [
{
"address": "tfcoremock_object.object",
"mode": "managed",
"name": "object",
"provider_name": "registry.terraform.io/hashicorp/tfcoremock",
"schema_version": 0,
"sensitive_values": {
"object": {}
},
"type": "tfcoremock_object",
"values": {
"id": "00e14fba-4d56-6cc5-b685-633555376e3f",
"object": {
"boolean": true,
"number": 10,
"string": "Hello, world!"
}
}
}
]
}
}
},
"resource_changes": [
{
"address": "tfcoremock_object.object",
"change": {
"actions": [
"update"
],
"after": {
"id": "00e14fba-4d56-6cc5-b685-633555376e3f",
"object": null
},
"after_sensitive": {},
"after_unknown": {},
"before": {
"id": "00e14fba-4d56-6cc5-b685-633555376e3f",
"object": {
"boolean": true,
"number": 10,
"string": "Hello, world!"
}
},
"before_sensitive": {
"object": {}
}
},
"mode": "managed",
"name": "object",
"provider_name": "registry.terraform.io/hashicorp/tfcoremock",
"type": "tfcoremock_object"
}
]
}

View File

@ -0,0 +1,22 @@
{
"format_version": "1.0",
"values": {
"root_module": {
"resources": [
{
"address": "tfcoremock_object.object",
"mode": "managed",
"name": "object",
"provider_name": "registry.terraform.io/hashicorp/tfcoremock",
"schema_version": 0,
"sensitive_values": {},
"type": "tfcoremock_object",
"values": {
"id": "00e14fba-4d56-6cc5-b685-633555376e3f",
"object": null
}
}
]
}
}
}

View File

@ -0,0 +1,118 @@
[
{
"@level": "info",
"@message": "tfcoremock_object.object: Plan to replace",
"@module": "terraform.ui",
"change": {
"action": "replace",
"reason": "cannot_update",
"resource": {
"addr": "tfcoremock_object.object",
"implied_provider": "tfcoremock",
"module": "",
"resource": "tfcoremock_object.object",
"resource_key": null,
"resource_name": "object",
"resource_type": "tfcoremock_object"
}
},
"type": "planned_change"
},
{
"@level": "info",
"@message": "tfcoremock_object.object: Destroying... [id=a0ed13ec-116b-14c4-7437-418e217d3659]",
"@module": "terraform.ui",
"hook": {
"action": "delete",
"id_key": "id",
"id_value": "a0ed13ec-116b-14c4-7437-418e217d3659",
"resource": {
"addr": "tfcoremock_object.object",
"implied_provider": "tfcoremock",
"module": "",
"resource": "tfcoremock_object.object",
"resource_key": null,
"resource_name": "object",
"resource_type": "tfcoremock_object"
}
},
"type": "apply_start"
},
{
"@level": "info",
"@message": "tfcoremock_object.object: Destruction complete after 0s",
"@module": "terraform.ui",
"hook": {
"action": "delete",
"elapsed_seconds": 0,
"resource": {
"addr": "tfcoremock_object.object",
"implied_provider": "tfcoremock",
"module": "",
"resource": "tfcoremock_object.object",
"resource_key": null,
"resource_name": "object",
"resource_type": "tfcoremock_object"
}
},
"type": "apply_complete"
},
{
"@level": "info",
"@message": "tfcoremock_object.object: Creating...",
"@module": "terraform.ui",
"hook": {
"action": "create",
"resource": {
"addr": "tfcoremock_object.object",
"implied_provider": "tfcoremock",
"module": "",
"resource": "tfcoremock_object.object",
"resource_key": null,
"resource_name": "object",
"resource_type": "tfcoremock_object"
}
},
"type": "apply_start"
},
{
"@level": "info",
"@message": "tfcoremock_object.object: Creation complete after 0s [id=63A9E8E8-71BC-4DAE-A66C-48CE393CCBD3]",
"@module": "terraform.ui",
"hook": {
"action": "create",
"elapsed_seconds": 0,
"id_key": "id",
"id_value": "63A9E8E8-71BC-4DAE-A66C-48CE393CCBD3",
"resource": {
"addr": "tfcoremock_object.object",
"implied_provider": "tfcoremock",
"module": "",
"resource": "tfcoremock_object.object",
"resource_key": null,
"resource_name": "object",
"resource_type": "tfcoremock_object"
}
},
"type": "apply_complete"
},
{
"@level": "info",
"@message": "Apply complete! Resources: 1 added, 0 changed, 1 destroyed.",
"@module": "terraform.ui",
"changes": {
"add": 1,
"change": 0,
"operation": "apply",
"remove": 1
},
"type": "change_summary"
},
{
"@level": "info",
"@message": "Outputs: 0",
"@module": "terraform.ui",
"outputs": {},
"type": "outputs"
}
]

View File

@ -0,0 +1,22 @@
tfcoremock_object.object: Refreshing state... [id=a0ed13ec-116b-14c4-7437-418e217d3659]
Terraform 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:
# tfcoremock_object.object must be replaced
-/+ resource "tfcoremock_object" "object" {
~ id = "a0ed13ec-116b-14c4-7437-418e217d3659" -> "63A9E8E8-71BC-4DAE-A66C-48CE393CCBD3" # forces replacement
# (1 unchanged attribute hidden)
}
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"

View File

@ -0,0 +1,133 @@
{
"configuration": {
"provider_config": {
"tfcoremock": {
"full_name": "registry.terraform.io/hashicorp/tfcoremock",
"name": "tfcoremock",
"version_constraint": "0.1.1"
}
},
"root_module": {
"resources": [
{
"address": "tfcoremock_object.object",
"expressions": {
"id": {
"constant_value": "63A9E8E8-71BC-4DAE-A66C-48CE393CCBD3"
},
"object": {
"constant_value": {
"boolean": true,
"number": 10,
"string": "Hello, world!"
}
}
},
"mode": "managed",
"name": "object",
"provider_config_key": "tfcoremock",
"schema_version": 0,
"type": "tfcoremock_object"
}
]
}
},
"format_version": "1.1",
"planned_values": {
"root_module": {
"resources": [
{
"address": "tfcoremock_object.object",
"mode": "managed",
"name": "object",
"provider_name": "registry.terraform.io/hashicorp/tfcoremock",
"schema_version": 0,
"sensitive_values": {
"object": {}
},
"type": "tfcoremock_object",
"values": {
"id": "63A9E8E8-71BC-4DAE-A66C-48CE393CCBD3",
"object": {
"boolean": true,
"number": 10,
"string": "Hello, world!"
}
}
}
]
}
},
"prior_state": {
"format_version": "1.0",
"values": {
"root_module": {
"resources": [
{
"address": "tfcoremock_object.object",
"mode": "managed",
"name": "object",
"provider_name": "registry.terraform.io/hashicorp/tfcoremock",
"schema_version": 0,
"sensitive_values": {
"object": {}
},
"type": "tfcoremock_object",
"values": {
"id": "a0ed13ec-116b-14c4-7437-418e217d3659",
"object": {
"boolean": true,
"number": 10,
"string": "Hello, world!"
}
}
}
]
}
}
},
"resource_changes": [
{
"action_reason": "replace_because_cannot_update",
"address": "tfcoremock_object.object",
"change": {
"actions": [
"delete",
"create"
],
"after": {
"id": "63A9E8E8-71BC-4DAE-A66C-48CE393CCBD3",
"object": {
"boolean": true,
"number": 10,
"string": "Hello, world!"
}
},
"after_sensitive": {
"object": {}
},
"after_unknown": {},
"before": {
"id": "a0ed13ec-116b-14c4-7437-418e217d3659",
"object": {
"boolean": true,
"number": 10,
"string": "Hello, world!"
}
},
"before_sensitive": {
"object": {}
},
"replace_paths": [
[
"id"
]
]
},
"mode": "managed",
"name": "object",
"provider_name": "registry.terraform.io/hashicorp/tfcoremock",
"type": "tfcoremock_object"
}
]
}

View File

@ -0,0 +1,28 @@
{
"format_version": "1.0",
"values": {
"root_module": {
"resources": [
{
"address": "tfcoremock_object.object",
"mode": "managed",
"name": "object",
"provider_name": "registry.terraform.io/hashicorp/tfcoremock",
"schema_version": 0,
"sensitive_values": {
"object": {}
},
"type": "tfcoremock_object",
"values": {
"id": "63A9E8E8-71BC-4DAE-A66C-48CE393CCBD3",
"object": {
"boolean": true,
"number": 10,
"string": "Hello, world!"
}
}
}
]
}
}
}

View File

@ -0,0 +1,80 @@
[
{
"@level": "info",
"@message": "tfcoremock_object.object: Plan to update",
"@module": "terraform.ui",
"change": {
"action": "update",
"resource": {
"addr": "tfcoremock_object.object",
"implied_provider": "tfcoremock",
"module": "",
"resource": "tfcoremock_object.object",
"resource_key": null,
"resource_name": "object",
"resource_type": "tfcoremock_object"
}
},
"type": "planned_change"
},
{
"@level": "info",
"@message": "tfcoremock_object.object: Modifying... [id=00e14fba-4d56-6cc5-b685-633555376e3f]",
"@module": "terraform.ui",
"hook": {
"action": "update",
"id_key": "id",
"id_value": "00e14fba-4d56-6cc5-b685-633555376e3f",
"resource": {
"addr": "tfcoremock_object.object",
"implied_provider": "tfcoremock",
"module": "",
"resource": "tfcoremock_object.object",
"resource_key": null,
"resource_name": "object",
"resource_type": "tfcoremock_object"
}
},
"type": "apply_start"
},
{
"@level": "info",
"@message": "tfcoremock_object.object: Modifications complete after 0s [id=00e14fba-4d56-6cc5-b685-633555376e3f]",
"@module": "terraform.ui",
"hook": {
"action": "update",
"elapsed_seconds": 0,
"id_key": "id",
"id_value": "00e14fba-4d56-6cc5-b685-633555376e3f",
"resource": {
"addr": "tfcoremock_object.object",
"implied_provider": "tfcoremock",
"module": "",
"resource": "tfcoremock_object.object",
"resource_key": null,
"resource_name": "object",
"resource_type": "tfcoremock_object"
}
},
"type": "apply_complete"
},
{
"@level": "info",
"@message": "Apply complete! Resources: 0 added, 1 changed, 0 destroyed.",
"@module": "terraform.ui",
"changes": {
"add": 0,
"change": 1,
"operation": "apply",
"remove": 0
},
"type": "change_summary"
},
{
"@level": "info",
"@message": "Outputs: 0",
"@module": "terraform.ui",
"outputs": {},
"type": "outputs"
}
]

View File

@ -0,0 +1,26 @@
tfcoremock_object.object: Refreshing state... [id=00e14fba-4d56-6cc5-b685-633555376e3f]
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:
# tfcoremock_object.object will be updated in-place
~ resource "tfcoremock_object" "object" {
id = "00e14fba-4d56-6cc5-b685-633555376e3f"
~ object = {
~ boolean = true -> false
~ number = 10 -> 2
~ string = "Hello, world!" -> "Hello, a totally different world!"
}
}
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"

View File

@ -0,0 +1,123 @@
{
"configuration": {
"provider_config": {
"tfcoremock": {
"full_name": "registry.terraform.io/hashicorp/tfcoremock",
"name": "tfcoremock",
"version_constraint": "0.1.1"
}
},
"root_module": {
"resources": [
{
"address": "tfcoremock_object.object",
"expressions": {
"object": {
"constant_value": {
"boolean": false,
"number": 2,
"string": "Hello, a totally different world!"
}
}
},
"mode": "managed",
"name": "object",
"provider_config_key": "tfcoremock",
"schema_version": 0,
"type": "tfcoremock_object"
}
]
}
},
"format_version": "1.1",
"planned_values": {
"root_module": {
"resources": [
{
"address": "tfcoremock_object.object",
"mode": "managed",
"name": "object",
"provider_name": "registry.terraform.io/hashicorp/tfcoremock",
"schema_version": 0,
"sensitive_values": {
"object": {}
},
"type": "tfcoremock_object",
"values": {
"id": "00e14fba-4d56-6cc5-b685-633555376e3f",
"object": {
"boolean": false,
"number": 2,
"string": "Hello, a totally different world!"
}
}
}
]
}
},
"prior_state": {
"format_version": "1.0",
"values": {
"root_module": {
"resources": [
{
"address": "tfcoremock_object.object",
"mode": "managed",
"name": "object",
"provider_name": "registry.terraform.io/hashicorp/tfcoremock",
"schema_version": 0,
"sensitive_values": {
"object": {}
},
"type": "tfcoremock_object",
"values": {
"id": "00e14fba-4d56-6cc5-b685-633555376e3f",
"object": {
"boolean": true,
"number": 10,
"string": "Hello, world!"
}
}
}
]
}
}
},
"resource_changes": [
{
"address": "tfcoremock_object.object",
"change": {
"actions": [
"update"
],
"after": {
"id": "00e14fba-4d56-6cc5-b685-633555376e3f",
"object": {
"boolean": false,
"number": 2,
"string": "Hello, a totally different world!"
}
},
"after_sensitive": {
"object": {}
},
"after_unknown": {},
"before": {
"id": "00e14fba-4d56-6cc5-b685-633555376e3f",
"object": {
"boolean": true,
"number": 10,
"string": "Hello, world!"
}
},
"before_sensitive": {
"object": {}
}
},
"mode": "managed",
"name": "object",
"provider_name": "registry.terraform.io/hashicorp/tfcoremock",
"type": "tfcoremock_object"
}
]
}

View File

@ -0,0 +1,28 @@
{
"format_version": "1.0",
"values": {
"root_module": {
"resources": [
{
"address": "tfcoremock_object.object",
"mode": "managed",
"name": "object",
"provider_name": "registry.terraform.io/hashicorp/tfcoremock",
"schema_version": 0,
"sensitive_values": {
"object": {}
},
"type": "tfcoremock_object",
"values": {
"id": "00e14fba-4d56-6cc5-b685-633555376e3f",
"object": {
"boolean": false,
"number": 2,
"string": "Hello, a totally different world!"
}
}
}
]
}
}
}

View File

@ -0,0 +1,123 @@
[
{
"@level": "info",
"@message": "Apply complete! Resources: 0 added, 0 changed, 0 destroyed.",
"@module": "terraform.ui",
"changes": {
"add": 0,
"change": 0,
"operation": "apply",
"remove": 0
},
"type": "change_summary"
},
{
"@level": "info",
"@message": "Outputs: 5",
"@module": "terraform.ui",
"outputs": {
"list_empty_default": {
"sensitive": false,
"type": [
"list",
[
"object",
{
"optional_attribute": "string",
"optional_attribute_with_default": "string",
"required_attribute": "string"
}
]
],
"value": []
},
"list_no_default": {
"sensitive": false,
"type": [
"list",
[
"object",
{
"optional_attribute": "string",
"optional_attribute_with_default": "string",
"required_attribute": "string"
}
]
],
"value": [
{
"optional_attribute": null,
"optional_attribute_with_default": "Hello, world!",
"required_attribute": "D92053D5-948A-4E5E-80BF-E53F0DB33EB5"
},
{
"optional_attribute": "8AC4B9EE-9E05-4AE0-AA35-6D7636AEA487",
"optional_attribute_with_default": "Hello, world!",
"required_attribute": "E6DA6176-49FB-46D6-9ECD-401B3F46A3E5"
},
{
"optional_attribute": "E68C1EB0-3D3D-4DB0-A41D-0F8C334E181C",
"optional_attribute_with_default": "92E855B2-A444-49DF-AFCA-2B5B017451B4",
"required_attribute": "9F9922C4-B426-4648-96AE-804A6F52F778"
}
]
},
"nested_optional_object": {
"sensitive": false,
"type": [
"object",
{
"nested_object": [
"object",
{
"flag": "bool"
}
]
}
],
"value": {
"nested_object": null
}
},
"nested_optional_object_with_default": {
"sensitive": false,
"type": [
"object",
{
"nested_object": [
"object",
{
"flag": "bool"
}
]
}
],
"value": {
"nested_object": {
"flag": false
}
}
},
"nested_optional_object_with_embedded_default": {
"sensitive": false,
"type": [
"object",
{
"nested_object": [
"object",
{
"flag": "bool"
}
]
}
],
"value": {
"nested_object": {
"flag": false
}
}
}
},
"type": "outputs"
}
]

View File

@ -0,0 +1,43 @@
Changes to Outputs:
+ list_empty_default = []
+ list_no_default = [
+ {
+ optional_attribute = null
+ optional_attribute_with_default = "Hello, world!"
+ required_attribute = "D92053D5-948A-4E5E-80BF-E53F0DB33EB5"
},
+ {
+ optional_attribute = "8AC4B9EE-9E05-4AE0-AA35-6D7636AEA487"
+ optional_attribute_with_default = "Hello, world!"
+ required_attribute = "E6DA6176-49FB-46D6-9ECD-401B3F46A3E5"
},
+ {
+ optional_attribute = "E68C1EB0-3D3D-4DB0-A41D-0F8C334E181C"
+ optional_attribute_with_default = "92E855B2-A444-49DF-AFCA-2B5B017451B4"
+ required_attribute = "9F9922C4-B426-4648-96AE-804A6F52F778"
},
]
+ nested_optional_object = {
+ nested_object = null
}
+ nested_optional_object_with_default = {
+ nested_object = {
+ flag = false
}
}
+ nested_optional_object_with_embedded_default = {
+ nested_object = {
+ flag = false
}
}
You can apply this plan to save these new output values to the Terraform
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"

View File

@ -0,0 +1,402 @@
{
"configuration": {
"root_module": {
"outputs": {
"list_empty_default": {
"expression": {
"references": [
"var.list_empty_default"
]
}
},
"list_no_default": {
"expression": {
"references": [
"var.list_no_default"
]
}
},
"nested_optional_object": {
"expression": {
"references": [
"var.nested_optional_object"
]
}
},
"nested_optional_object_with_default": {
"expression": {
"references": [
"var.nested_optional_object_with_default"
]
}
},
"nested_optional_object_with_embedded_default": {
"expression": {
"references": [
"var.nested_optional_object_with_embedded_default"
]
}
}
},
"variables": {
"list_empty_default": {
"default": []
},
"list_no_default": {},
"nested_optional_object": {
"default": {
"nested_object": null
}
},
"nested_optional_object_with_default": {
"default": {
"nested_object": {
"flag": false
}
}
},
"nested_optional_object_with_embedded_default": {
"default": {
"nested_object": {
"flag": false
}
}
}
}
}
},
"format_version": "1.1",
"output_changes": {
"list_empty_default": {
"actions": [
"create"
],
"after": [],
"after_sensitive": false,
"after_unknown": false,
"before": null,
"before_sensitive": false
},
"list_no_default": {
"actions": [
"create"
],
"after": [
{
"optional_attribute": null,
"optional_attribute_with_default": "Hello, world!",
"required_attribute": "D92053D5-948A-4E5E-80BF-E53F0DB33EB5"
},
{
"optional_attribute": "8AC4B9EE-9E05-4AE0-AA35-6D7636AEA487",
"optional_attribute_with_default": "Hello, world!",
"required_attribute": "E6DA6176-49FB-46D6-9ECD-401B3F46A3E5"
},
{
"optional_attribute": "E68C1EB0-3D3D-4DB0-A41D-0F8C334E181C",
"optional_attribute_with_default": "92E855B2-A444-49DF-AFCA-2B5B017451B4",
"required_attribute": "9F9922C4-B426-4648-96AE-804A6F52F778"
}
],
"after_sensitive": false,
"after_unknown": false,
"before": null,
"before_sensitive": false
},
"nested_optional_object": {
"actions": [
"create"
],
"after": {
"nested_object": null
},
"after_sensitive": false,
"after_unknown": false,
"before": null,
"before_sensitive": false
},
"nested_optional_object_with_default": {
"actions": [
"create"
],
"after": {
"nested_object": {
"flag": false
}
},
"after_sensitive": false,
"after_unknown": false,
"before": null,
"before_sensitive": false
},
"nested_optional_object_with_embedded_default": {
"actions": [
"create"
],
"after": {
"nested_object": {
"flag": false
}
},
"after_sensitive": false,
"after_unknown": false,
"before": null,
"before_sensitive": false
}
},
"planned_values": {
"outputs": {
"list_empty_default": {
"sensitive": false,
"type": [
"list",
[
"object",
{
"optional_attribute": "string",
"optional_attribute_with_default": "string",
"required_attribute": "string"
}
]
],
"value": []
},
"list_no_default": {
"sensitive": false,
"type": [
"list",
[
"object",
{
"optional_attribute": "string",
"optional_attribute_with_default": "string",
"required_attribute": "string"
}
]
],
"value": [
{
"optional_attribute": null,
"optional_attribute_with_default": "Hello, world!",
"required_attribute": "D92053D5-948A-4E5E-80BF-E53F0DB33EB5"
},
{
"optional_attribute": "8AC4B9EE-9E05-4AE0-AA35-6D7636AEA487",
"optional_attribute_with_default": "Hello, world!",
"required_attribute": "E6DA6176-49FB-46D6-9ECD-401B3F46A3E5"
},
{
"optional_attribute": "E68C1EB0-3D3D-4DB0-A41D-0F8C334E181C",
"optional_attribute_with_default": "92E855B2-A444-49DF-AFCA-2B5B017451B4",
"required_attribute": "9F9922C4-B426-4648-96AE-804A6F52F778"
}
]
},
"nested_optional_object": {
"sensitive": false,
"type": [
"object",
{
"nested_object": [
"object",
{
"flag": "bool"
}
]
}
],
"value": {
"nested_object": null
}
},
"nested_optional_object_with_default": {
"sensitive": false,
"type": [
"object",
{
"nested_object": [
"object",
{
"flag": "bool"
}
]
}
],
"value": {
"nested_object": {
"flag": false
}
}
},
"nested_optional_object_with_embedded_default": {
"sensitive": false,
"type": [
"object",
{
"nested_object": [
"object",
{
"flag": "bool"
}
]
}
],
"value": {
"nested_object": {
"flag": false
}
}
}
},
"root_module": {}
},
"prior_state": {
"format_version": "1.0",
"values": {
"outputs": {
"list_empty_default": {
"sensitive": false,
"type": [
"list",
[
"object",
{
"optional_attribute": "string",
"optional_attribute_with_default": "string",
"required_attribute": "string"
}
]
],
"value": []
},
"list_no_default": {
"sensitive": false,
"type": [
"list",
[
"object",
{
"optional_attribute": "string",
"optional_attribute_with_default": "string",
"required_attribute": "string"
}
]
],
"value": [
{
"optional_attribute": null,
"optional_attribute_with_default": "Hello, world!",
"required_attribute": "D92053D5-948A-4E5E-80BF-E53F0DB33EB5"
},
{
"optional_attribute": "8AC4B9EE-9E05-4AE0-AA35-6D7636AEA487",
"optional_attribute_with_default": "Hello, world!",
"required_attribute": "E6DA6176-49FB-46D6-9ECD-401B3F46A3E5"
},
{
"optional_attribute": "E68C1EB0-3D3D-4DB0-A41D-0F8C334E181C",
"optional_attribute_with_default": "92E855B2-A444-49DF-AFCA-2B5B017451B4",
"required_attribute": "9F9922C4-B426-4648-96AE-804A6F52F778"
}
]
},
"nested_optional_object": {
"sensitive": false,
"type": [
"object",
{
"nested_object": [
"object",
{
"flag": "bool"
}
]
}
],
"value": {
"nested_object": null
}
},
"nested_optional_object_with_default": {
"sensitive": false,
"type": [
"object",
{
"nested_object": [
"object",
{
"flag": "bool"
}
]
}
],
"value": {
"nested_object": {
"flag": false
}
}
},
"nested_optional_object_with_embedded_default": {
"sensitive": false,
"type": [
"object",
{
"nested_object": [
"object",
{
"flag": "bool"
}
]
}
],
"value": {
"nested_object": {
"flag": false
}
}
}
},
"root_module": {}
}
},
"variables": {
"list_empty_default": {
"value": []
},
"list_no_default": {
"value": [
{
"required_attribute": "D92053D5-948A-4E5E-80BF-E53F0DB33EB5"
},
{
"optional_attribute": "8AC4B9EE-9E05-4AE0-AA35-6D7636AEA487",
"required_attribute": "E6DA6176-49FB-46D6-9ECD-401B3F46A3E5"
},
{
"optional_attribute": "E68C1EB0-3D3D-4DB0-A41D-0F8C334E181C",
"optional_attribute_with_default": "92E855B2-A444-49DF-AFCA-2B5B017451B4",
"required_attribute": "9F9922C4-B426-4648-96AE-804A6F52F778"
}
]
},
"nested_optional_object": {
"value": {
"nested_object": null
}
},
"nested_optional_object_with_default": {
"value": {
"nested_object": {
"flag": false
}
}
},
"nested_optional_object_with_embedded_default": {
"value": {
"nested_object": {
"flag": false
}
}
}
}
}

View File

@ -0,0 +1,109 @@
{
"format_version": "1.0",
"values": {
"outputs": {
"list_empty_default": {
"sensitive": false,
"type": [
"list",
[
"object",
{
"optional_attribute": "string",
"optional_attribute_with_default": "string",
"required_attribute": "string"
}
]
],
"value": []
},
"list_no_default": {
"sensitive": false,
"type": [
"list",
[
"object",
{
"optional_attribute": "string",
"optional_attribute_with_default": "string",
"required_attribute": "string"
}
]
],
"value": [
{
"optional_attribute": null,
"optional_attribute_with_default": "Hello, world!",
"required_attribute": "D92053D5-948A-4E5E-80BF-E53F0DB33EB5"
},
{
"optional_attribute": "8AC4B9EE-9E05-4AE0-AA35-6D7636AEA487",
"optional_attribute_with_default": "Hello, world!",
"required_attribute": "E6DA6176-49FB-46D6-9ECD-401B3F46A3E5"
},
{
"optional_attribute": "E68C1EB0-3D3D-4DB0-A41D-0F8C334E181C",
"optional_attribute_with_default": "92E855B2-A444-49DF-AFCA-2B5B017451B4",
"required_attribute": "9F9922C4-B426-4648-96AE-804A6F52F778"
}
]
},
"nested_optional_object": {
"sensitive": false,
"type": [
"object",
{
"nested_object": [
"object",
{
"flag": "bool"
}
]
}
],
"value": {
"nested_object": null
}
},
"nested_optional_object_with_default": {
"sensitive": false,
"type": [
"object",
{
"nested_object": [
"object",
{
"flag": "bool"
}
]
}
],
"value": {
"nested_object": {
"flag": false
}
}
},
"nested_optional_object_with_embedded_default": {
"sensitive": false,
"type": [
"object",
{
"nested_object": [
"object",
{
"flag": "bool"
}
]
}
],
"value": {
"nested_object": {
"flag": false
}
}
}
},
"root_module": {}
}
}

View File

@ -0,0 +1,35 @@
{
"tfcoremock_list": {
"attributes": {
"list": {
"type": "list",
"optional": true,
"list": {
"type": "string"
}
}
}
},
"tfcoremock_set": {
"attributes": {
"set": {
"type": "set",
"optional": true,
"set": {
"type": "string"
}
}
}
},
"tfcoremock_map": {
"attributes": {
"map": {
"type": "map",
"optional": true,
"map": {
"type": "string"
}
}
}
}
}

View File

@ -0,0 +1,37 @@
terraform {
required_providers {
tfcoremock = {
source = "hashicorp/tfcoremock"
version = "0.1.1"
}
}
}
provider "tfcoremock" {}
resource "tfcoremock_list" "list" {
id = "985820B3-ACF9-4F00-94AD-F81C5EA33663"
list = [
"9C2BE420-042D-440A-96E9-75565341C994",
"3EC6EB1F-E372-46C3-A069-00D6E82EC1E1",
"D01290F6-2D3A-45FA-B006-DAA80F6D31F6",
]
}
resource "tfcoremock_set" "set" {
id = "046952C9-B832-4106-82C0-C217F7C73E18"
set = [
"41471135-E14C-4946-BFA4-2626C7E2A94A",
"C04762B9-D07B-40FE-A92B-B72AD342658D",
"D8F7EA80-9E25-4DD7-8D97-797D2080952B",
]
}
resource "tfcoremock_map" "map" {
id = "50E1A46E-E64A-4C1F-881C-BA85A5440964"
map = {
"zero" : "6B044AF7-172B-495B-BE11-B9546C12C3BD",
"one" : "682672C7-0918-4448-8342-887BAE01062A",
"two" : "212FFBF6-40FE-4862-B708-E6AA508E84E0",
}
}

View File

@ -0,0 +1,4 @@
{
"include_files": [],
"ignore_fields": {}
}

View File

@ -0,0 +1,35 @@
{
"tfcoremock_list": {
"attributes": {
"list": {
"type": "list",
"optional": true,
"list": {
"type": "string"
}
}
}
},
"tfcoremock_set": {
"attributes": {
"set": {
"type": "set",
"optional": true,
"set": {
"type": "string"
}
}
}
},
"tfcoremock_map": {
"attributes": {
"map": {
"type": "map",
"optional": true,
"map": {
"type": "string"
}
}
}
}
}

View File

@ -0,0 +1,25 @@
terraform {
required_providers {
tfcoremock = {
source = "hashicorp/tfcoremock"
version = "0.1.1"
}
}
}
provider "tfcoremock" {}
resource "tfcoremock_list" "list" {
id = "985820B3-ACF9-4F00-94AD-F81C5EA33663"
list = []
}
resource "tfcoremock_set" "set" {
id = "046952C9-B832-4106-82C0-C217F7C73E18"
set = []
}
resource "tfcoremock_map" "map" {
id = "50E1A46E-E64A-4C1F-881C-BA85A5440964"
map = {}
}

View File

@ -0,0 +1,4 @@
{
"include_files": [],
"ignore_fields": {}
}

View File

@ -0,0 +1,20 @@
{
"values": {
"id": {
"string": "046952C9-B832-4106-82C0-C217F7C73E18"
},
"set": {
"set": [
{
"string": "41471135-E14C-4946-BFA4-2626C7E2A94A"
},
{
"string": "C04762B9-D07B-40FE-A92B-B72AD342658D"
},
{
"string": "D8F7EA80-9E25-4DD7-8D97-797D2080952B"
}
]
}
}
}

View File

@ -0,0 +1,20 @@
{
"values": {
"id": {
"string": "50E1A46E-E64A-4C1F-881C-BA85A5440964"
},
"map": {
"map": {
"one": {
"string": "682672C7-0918-4448-8342-887BAE01062A"
},
"two": {
"string": "212FFBF6-40FE-4862-B708-E6AA508E84E0"
},
"zero": {
"string": "6B044AF7-172B-495B-BE11-B9546C12C3BD"
}
}
}
}
}

View File

@ -0,0 +1,20 @@
{
"values": {
"id": {
"string": "985820B3-ACF9-4F00-94AD-F81C5EA33663"
},
"list": {
"list": [
{
"string": "9C2BE420-042D-440A-96E9-75565341C994"
},
{
"string": "3EC6EB1F-E372-46C3-A069-00D6E82EC1E1"
},
{
"string": "D01290F6-2D3A-45FA-B006-DAA80F6D31F6"
}
]
}
}
}

View File

@ -0,0 +1,70 @@
{
"version": 4,
"terraform_version": "1.3.5",
"serial": 8,
"lineage": "d3c0d734-0689-e932-cdb8-e678d38bf385",
"outputs": {},
"resources": [
{
"mode": "managed",
"type": "tfcoremock_list",
"name": "list",
"provider": "provider[\"registry.terraform.io/hashicorp/tfcoremock\"]",
"instances": [
{
"schema_version": 0,
"attributes": {
"id": "985820B3-ACF9-4F00-94AD-F81C5EA33663",
"list": [
"9C2BE420-042D-440A-96E9-75565341C994",
"3EC6EB1F-E372-46C3-A069-00D6E82EC1E1",
"D01290F6-2D3A-45FA-B006-DAA80F6D31F6"
]
},
"sensitive_attributes": []
}
]
},
{
"mode": "managed",
"type": "tfcoremock_map",
"name": "map",
"provider": "provider[\"registry.terraform.io/hashicorp/tfcoremock\"]",
"instances": [
{
"schema_version": 0,
"attributes": {
"id": "50E1A46E-E64A-4C1F-881C-BA85A5440964",
"map": {
"one": "682672C7-0918-4448-8342-887BAE01062A",
"two": "212FFBF6-40FE-4862-B708-E6AA508E84E0",
"zero": "6B044AF7-172B-495B-BE11-B9546C12C3BD"
}
},
"sensitive_attributes": []
}
]
},
{
"mode": "managed",
"type": "tfcoremock_set",
"name": "set",
"provider": "provider[\"registry.terraform.io/hashicorp/tfcoremock\"]",
"instances": [
{
"schema_version": 0,
"attributes": {
"id": "046952C9-B832-4106-82C0-C217F7C73E18",
"set": [
"41471135-E14C-4946-BFA4-2626C7E2A94A",
"C04762B9-D07B-40FE-A92B-B72AD342658D",
"D8F7EA80-9E25-4DD7-8D97-797D2080952B"
]
},
"sensitive_attributes": []
}
]
}
],
"check_results": null
}

View File

@ -0,0 +1,35 @@
{
"tfcoremock_list": {
"attributes": {
"list": {
"type": "list",
"optional": true,
"list": {
"type": "string"
}
}
}
},
"tfcoremock_set": {
"attributes": {
"set": {
"type": "set",
"optional": true,
"set": {
"type": "string"
}
}
}
},
"tfcoremock_map": {
"attributes": {
"map": {
"type": "map",
"optional": true,
"map": {
"type": "string"
}
}
}
}
}

View File

@ -0,0 +1,22 @@
terraform {
required_providers {
tfcoremock = {
source = "hashicorp/tfcoremock"
version = "0.1.1"
}
}
}
provider "tfcoremock" {}
resource "tfcoremock_list" "list" {
id = "985820B3-ACF9-4F00-94AD-F81C5EA33663"
}
resource "tfcoremock_set" "set" {
id = "046952C9-B832-4106-82C0-C217F7C73E18"
}
resource "tfcoremock_map" "map" {
id = "50E1A46E-E64A-4C1F-881C-BA85A5440964"
}

View File

@ -0,0 +1,4 @@
{
"include_files": [],
"ignore_fields": {}
}

View File

@ -0,0 +1,20 @@
{
"values": {
"id": {
"string": "046952C9-B832-4106-82C0-C217F7C73E18"
},
"set": {
"set": [
{
"string": "41471135-E14C-4946-BFA4-2626C7E2A94A"
},
{
"string": "C04762B9-D07B-40FE-A92B-B72AD342658D"
},
{
"string": "D8F7EA80-9E25-4DD7-8D97-797D2080952B"
}
]
}
}
}

View File

@ -0,0 +1,20 @@
{
"values": {
"id": {
"string": "50E1A46E-E64A-4C1F-881C-BA85A5440964"
},
"map": {
"map": {
"one": {
"string": "682672C7-0918-4448-8342-887BAE01062A"
},
"two": {
"string": "212FFBF6-40FE-4862-B708-E6AA508E84E0"
},
"zero": {
"string": "6B044AF7-172B-495B-BE11-B9546C12C3BD"
}
}
}
}
}

View File

@ -0,0 +1,20 @@
{
"values": {
"id": {
"string": "985820B3-ACF9-4F00-94AD-F81C5EA33663"
},
"list": {
"list": [
{
"string": "9C2BE420-042D-440A-96E9-75565341C994"
},
{
"string": "3EC6EB1F-E372-46C3-A069-00D6E82EC1E1"
},
{
"string": "D01290F6-2D3A-45FA-B006-DAA80F6D31F6"
}
]
}
}
}

View File

@ -0,0 +1,70 @@
{
"version": 4,
"terraform_version": "1.3.5",
"serial": 8,
"lineage": "d3c0d734-0689-e932-cdb8-e678d38bf385",
"outputs": {},
"resources": [
{
"mode": "managed",
"type": "tfcoremock_list",
"name": "list",
"provider": "provider[\"registry.terraform.io/hashicorp/tfcoremock\"]",
"instances": [
{
"schema_version": 0,
"attributes": {
"id": "985820B3-ACF9-4F00-94AD-F81C5EA33663",
"list": [
"9C2BE420-042D-440A-96E9-75565341C994",
"3EC6EB1F-E372-46C3-A069-00D6E82EC1E1",
"D01290F6-2D3A-45FA-B006-DAA80F6D31F6"
]
},
"sensitive_attributes": []
}
]
},
{
"mode": "managed",
"type": "tfcoremock_map",
"name": "map",
"provider": "provider[\"registry.terraform.io/hashicorp/tfcoremock\"]",
"instances": [
{
"schema_version": 0,
"attributes": {
"id": "50E1A46E-E64A-4C1F-881C-BA85A5440964",
"map": {
"one": "682672C7-0918-4448-8342-887BAE01062A",
"two": "212FFBF6-40FE-4862-B708-E6AA508E84E0",
"zero": "6B044AF7-172B-495B-BE11-B9546C12C3BD"
}
},
"sensitive_attributes": []
}
]
},
{
"mode": "managed",
"type": "tfcoremock_set",
"name": "set",
"provider": "provider[\"registry.terraform.io/hashicorp/tfcoremock\"]",
"instances": [
{
"schema_version": 0,
"attributes": {
"id": "046952C9-B832-4106-82C0-C217F7C73E18",
"set": [
"41471135-E14C-4946-BFA4-2626C7E2A94A",
"C04762B9-D07B-40FE-A92B-B72AD342658D",
"D8F7EA80-9E25-4DD7-8D97-797D2080952B"
]
},
"sensitive_attributes": []
}
]
}
],
"check_results": null
}

View File

@ -0,0 +1,35 @@
{
"tfcoremock_list": {
"attributes": {
"list": {
"type": "list",
"optional": true,
"list": {
"type": "string"
}
}
}
},
"tfcoremock_set": {
"attributes": {
"set": {
"type": "set",
"optional": true,
"set": {
"type": "string"
}
}
}
},
"tfcoremock_map": {
"attributes": {
"map": {
"type": "map",
"optional": true,
"map": {
"type": "string"
}
}
}
}
}

View File

@ -0,0 +1,37 @@
terraform {
required_providers {
tfcoremock = {
source = "hashicorp/tfcoremock"
version = "0.1.1"
}
}
}
provider "tfcoremock" {}
resource "tfcoremock_list" "list" {
id = "985820B3-ACF9-4F00-94AD-F81C5EA33663"
list = [
"9C2BE420-042D-440A-96E9-75565341C994",
"D01290F6-2D3A-45FA-B006-DAA80F6D31F6",
"9B9F3ADF-8AD4-4E8C-AFE4-7BC2413E9AC0",
]
}
resource "tfcoremock_set" "set" {
id = "046952C9-B832-4106-82C0-C217F7C73E18"
set = [
"41471135-E14C-4946-BFA4-2626C7E2A94A",
"D8F7EA80-9E25-4DD7-8D97-797D2080952B",
"1769B76E-12F0-4214-A864-E843EB23B64E",
]
}
resource "tfcoremock_map" "map" {
id = "50E1A46E-E64A-4C1F-881C-BA85A5440964"
map = {
"zero" : "6B044AF7-172B-495B-BE11-B9546C12C3BD",
"two" : "212FFBF6-40FE-4862-B708-E6AA508E84E0",
"four" : "D820D482-7C2C-4EF3-8935-863168A193F9",
}
}

View File

@ -0,0 +1,4 @@
{
"include_files": [],
"ignore_fields": {}
}

View File

@ -0,0 +1,20 @@
{
"values": {
"id": {
"string": "046952C9-B832-4106-82C0-C217F7C73E18"
},
"set": {
"set": [
{
"string": "41471135-E14C-4946-BFA4-2626C7E2A94A"
},
{
"string": "C04762B9-D07B-40FE-A92B-B72AD342658D"
},
{
"string": "D8F7EA80-9E25-4DD7-8D97-797D2080952B"
}
]
}
}
}

View File

@ -0,0 +1,20 @@
{
"values": {
"id": {
"string": "50E1A46E-E64A-4C1F-881C-BA85A5440964"
},
"map": {
"map": {
"one": {
"string": "682672C7-0918-4448-8342-887BAE01062A"
},
"two": {
"string": "212FFBF6-40FE-4862-B708-E6AA508E84E0"
},
"zero": {
"string": "6B044AF7-172B-495B-BE11-B9546C12C3BD"
}
}
}
}
}

View File

@ -0,0 +1,20 @@
{
"values": {
"id": {
"string": "985820B3-ACF9-4F00-94AD-F81C5EA33663"
},
"list": {
"list": [
{
"string": "9C2BE420-042D-440A-96E9-75565341C994"
},
{
"string": "3EC6EB1F-E372-46C3-A069-00D6E82EC1E1"
},
{
"string": "D01290F6-2D3A-45FA-B006-DAA80F6D31F6"
}
]
}
}
}

View File

@ -0,0 +1,70 @@
{
"version": 4,
"terraform_version": "1.3.5",
"serial": 8,
"lineage": "d3c0d734-0689-e932-cdb8-e678d38bf385",
"outputs": {},
"resources": [
{
"mode": "managed",
"type": "tfcoremock_list",
"name": "list",
"provider": "provider[\"registry.terraform.io/hashicorp/tfcoremock\"]",
"instances": [
{
"schema_version": 0,
"attributes": {
"id": "985820B3-ACF9-4F00-94AD-F81C5EA33663",
"list": [
"9C2BE420-042D-440A-96E9-75565341C994",
"3EC6EB1F-E372-46C3-A069-00D6E82EC1E1",
"D01290F6-2D3A-45FA-B006-DAA80F6D31F6"
]
},
"sensitive_attributes": []
}
]
},
{
"mode": "managed",
"type": "tfcoremock_map",
"name": "map",
"provider": "provider[\"registry.terraform.io/hashicorp/tfcoremock\"]",
"instances": [
{
"schema_version": 0,
"attributes": {
"id": "50E1A46E-E64A-4C1F-881C-BA85A5440964",
"map": {
"one": "682672C7-0918-4448-8342-887BAE01062A",
"two": "212FFBF6-40FE-4862-B708-E6AA508E84E0",
"zero": "6B044AF7-172B-495B-BE11-B9546C12C3BD"
}
},
"sensitive_attributes": []
}
]
},
{
"mode": "managed",
"type": "tfcoremock_set",
"name": "set",
"provider": "provider[\"registry.terraform.io/hashicorp/tfcoremock\"]",
"instances": [
{
"schema_version": 0,
"attributes": {
"id": "046952C9-B832-4106-82C0-C217F7C73E18",
"set": [
"41471135-E14C-4946-BFA4-2626C7E2A94A",
"C04762B9-D07B-40FE-A92B-B72AD342658D",
"D8F7EA80-9E25-4DD7-8D97-797D2080952B"
]
},
"sensitive_attributes": []
}
]
}
],
"check_results": null
}

View File

@ -2,7 +2,7 @@ terraform {
required_providers {
tfcoremock = {
source = "hashicorp/tfcoremock"
version = "0.1.0"
version = "0.1.1"
}
}
}

View File

@ -2,7 +2,7 @@ terraform {
required_providers {
tfcoremock = {
source = "hashicorp/tfcoremock"
version = "0.1.0"
version = "0.1.1"
}
}
}

View File

@ -2,7 +2,7 @@ terraform {
required_providers {
tfcoremock = {
source = "hashicorp/tfcoremock"
version = "0.1.0"
version = "0.1.1"
}
}
}

View File

@ -2,7 +2,7 @@ terraform {
required_providers {
tfcoremock = {
source = "hashicorp/tfcoremock"
version = "0.1.0"
version = "0.1.1"
}
}
}

View File

@ -2,7 +2,7 @@ terraform {
required_providers {
tfcoremock = {
source = "hashicorp/tfcoremock"
version = "0.1.0"
version = "0.1.1"
}
}
}

View File

@ -2,7 +2,7 @@ terraform {
required_providers {
tfcoremock = {
source = "hashicorp/tfcoremock"
version = "0.1.0"
version = "0.1.1"
}
}
}

View File

@ -2,7 +2,7 @@ terraform {
required_providers {
tfcoremock = {
source = "hashicorp/tfcoremock"
version = "0.1.0"
version = "0.1.1"
}
}
}

View File

@ -2,7 +2,7 @@ terraform {
required_providers {
tfcoremock = {
source = "hashicorp/tfcoremock"
version = "0.1.0"
version = "0.1.1"
}
}
}

View File

@ -2,7 +2,7 @@ terraform {
required_providers {
tfcoremock = {
source = "hashicorp/tfcoremock"
version = "0.1.0"
version = "0.1.1"
}
}
}

View File

@ -2,7 +2,7 @@ terraform {
required_providers {
tfcoremock = {
source = "hashicorp/tfcoremock"
version = "0.1.0"
version = "0.1.1"
}
}
}

View File

@ -0,0 +1,24 @@
{
"tfcoremock_object": {
"attributes": {
"object": {
"type": "object",
"optional": true,
"object": {
"string": {
"type": "string",
"optional": true
},
"boolean": {
"type": "boolean",
"optional": true
},
"number": {
"type": "number",
"optional": true
}
}
}
}
}
}

View File

@ -0,0 +1,19 @@
terraform {
required_providers {
tfcoremock = {
source = "hashicorp/tfcoremock"
version = "0.1.1"
}
}
}
provider "tfcoremock" {}
resource "tfcoremock_object" "object" {
id = "AF9833AE-3434-4D0B-8B69-F4B992565D9F"
object = {
string = "Hello, world!"
boolean = true
number = 10
}
}

View File

@ -0,0 +1,4 @@
{
"include_files": [],
"ignore_fields": {}
}

View File

@ -0,0 +1,24 @@
{
"tfcoremock_object": {
"attributes": {
"object": {
"type": "object",
"optional": true,
"object": {
"string": {
"type": "string",
"optional": true
},
"boolean": {
"type": "boolean",
"optional": true
},
"number": {
"type": "number",
"optional": true
}
}
}
}
}
}

View File

@ -0,0 +1,14 @@
terraform {
required_providers {
tfcoremock = {
source = "hashicorp/tfcoremock"
version = "0.1.1"
}
}
}
provider "tfcoremock" {}
resource "tfcoremock_object" "object" {
object = {}
}

View File

@ -0,0 +1,4 @@
{
"include_files": [],
"ignore_fields": {}
}

View File

@ -0,0 +1,20 @@
{
"values": {
"id": {
"string": "00e14fba-4d56-6cc5-b685-633555376e3f"
},
"object": {
"object": {
"boolean": {
"boolean": true
},
"number": {
"number": "10"
},
"string": {
"string": "Hello, world!"
}
}
}
}
}

View File

@ -0,0 +1,30 @@
{
"version": 4,
"terraform_version": "1.3.5",
"serial": 1,
"lineage": "daaaeb37-0157-6c8c-2de9-7687bf0a6040",
"outputs": {},
"resources": [
{
"mode": "managed",
"type": "tfcoremock_object",
"name": "object",
"provider": "provider[\"registry.terraform.io/hashicorp/tfcoremock\"]",
"instances": [
{
"schema_version": 0,
"attributes": {
"id": "00e14fba-4d56-6cc5-b685-633555376e3f",
"object": {
"boolean": true,
"number": 10,
"string": "Hello, world!"
}
},
"sensitive_attributes": []
}
]
}
],
"check_results": null
}

View File

@ -0,0 +1,24 @@
{
"tfcoremock_object": {
"attributes": {
"object": {
"type": "object",
"optional": true,
"object": {
"string": {
"type": "string",
"optional": true
},
"boolean": {
"type": "boolean",
"optional": true
},
"number": {
"type": "number",
"optional": true
}
}
}
}
}
}

View File

@ -0,0 +1,12 @@
terraform {
required_providers {
tfcoremock = {
source = "hashicorp/tfcoremock"
version = "0.1.1"
}
}
}
provider "tfcoremock" {}
resource "tfcoremock_object" "object" {}

View File

@ -0,0 +1,4 @@
{
"include_files": [],
"ignore_fields": {}
}

View File

@ -0,0 +1,20 @@
{
"values": {
"id": {
"string": "00e14fba-4d56-6cc5-b685-633555376e3f"
},
"object": {
"object": {
"boolean": {
"boolean": true
},
"number": {
"number": "10"
},
"string": {
"string": "Hello, world!"
}
}
}
}
}

View File

@ -0,0 +1,30 @@
{
"version": 4,
"terraform_version": "1.3.5",
"serial": 1,
"lineage": "daaaeb37-0157-6c8c-2de9-7687bf0a6040",
"outputs": {},
"resources": [
{
"mode": "managed",
"type": "tfcoremock_object",
"name": "object",
"provider": "provider[\"registry.terraform.io/hashicorp/tfcoremock\"]",
"instances": [
{
"schema_version": 0,
"attributes": {
"id": "00e14fba-4d56-6cc5-b685-633555376e3f",
"object": {
"boolean": true,
"number": 10,
"string": "Hello, world!"
}
},
"sensitive_attributes": []
}
]
}
],
"check_results": null
}

View File

@ -0,0 +1,24 @@
{
"tfcoremock_object": {
"attributes": {
"object": {
"type": "object",
"optional": true,
"object": {
"string": {
"type": "string",
"optional": true
},
"boolean": {
"type": "boolean",
"optional": true
},
"number": {
"type": "number",
"optional": true
}
}
}
}
}
}

View File

@ -0,0 +1,20 @@
terraform {
required_providers {
tfcoremock = {
source = "hashicorp/tfcoremock"
version = "0.1.1"
}
}
}
provider "tfcoremock" {}
resource "tfcoremock_object" "object" {
id = "63A9E8E8-71BC-4DAE-A66C-48CE393CCBD3"
object = {
string = "Hello, world!"
boolean = true
number = 10
}
}

View File

@ -0,0 +1,4 @@
{
"include_files": [],
"ignore_fields": {}
}

Some files were not shown because too many files have changed in this diff Show More