opentofu/testing/equivalence-tests/outputs/moved_with_update/plan.json
Liam Cervante 82b5cfad7e
Add more equivalence tests that are testing edge cases around the new structured renderer (#32538)
* add test cases

* run equivalence tests

* delete old outputs

* drift_relevant_attributes should ignore the number attribute

* also add a test for data reads

* test destroy only
2023-01-20 09:31:11 +01:00

112 lines
2.9 KiB
JSON

{
"configuration": {
"provider_config": {
"tfcoremock": {
"full_name": "registry.terraform.io/hashicorp/tfcoremock",
"name": "tfcoremock",
"version_constraint": "0.1.1"
}
},
"root_module": {
"resources": [
{
"address": "tfcoremock_simple_resource.moved",
"expressions": {
"string": {
"constant_value": "Hello, change!"
}
},
"mode": "managed",
"name": "moved",
"provider_config_key": "tfcoremock",
"schema_version": 0,
"type": "tfcoremock_simple_resource"
}
]
}
},
"format_version": "1.1",
"planned_values": {
"root_module": {
"resources": [
{
"address": "tfcoremock_simple_resource.moved",
"mode": "managed",
"name": "moved",
"provider_name": "registry.terraform.io/hashicorp/tfcoremock",
"schema_version": 0,
"sensitive_values": {},
"type": "tfcoremock_simple_resource",
"values": {
"bool": null,
"float": null,
"id": "7da63aeb-f908-a112-9886-f29a0b0bd4ad",
"integer": null,
"number": null,
"string": "Hello, change!"
}
}
]
}
},
"prior_state": {
"format_version": "1.0",
"values": {
"root_module": {
"resources": [
{
"address": "tfcoremock_simple_resource.moved",
"mode": "managed",
"name": "moved",
"provider_name": "registry.terraform.io/hashicorp/tfcoremock",
"schema_version": 0,
"sensitive_values": {},
"type": "tfcoremock_simple_resource",
"values": {
"bool": null,
"float": null,
"id": "7da63aeb-f908-a112-9886-f29a0b0bd4ad",
"integer": null,
"number": null,
"string": "Hello, world!"
}
}
]
}
}
},
"resource_changes": [
{
"address": "tfcoremock_simple_resource.moved",
"change": {
"actions": [
"update"
],
"after": {
"bool": null,
"float": null,
"id": "7da63aeb-f908-a112-9886-f29a0b0bd4ad",
"integer": null,
"number": null,
"string": "Hello, change!"
},
"after_sensitive": {},
"after_unknown": {},
"before": {
"bool": null,
"float": null,
"id": "7da63aeb-f908-a112-9886-f29a0b0bd4ad",
"integer": null,
"number": null,
"string": "Hello, world!"
},
"before_sensitive": {}
},
"mode": "managed",
"name": "moved",
"previous_address": "tfcoremock_simple_resource.base",
"provider_name": "registry.terraform.io/hashicorp/tfcoremock",
"type": "tfcoremock_simple_resource"
}
]
}