opentofu/testing/equivalence-tests/tests/moved_with_drift/terraform.tfstate
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

54 lines
1.3 KiB
JSON

{
"version": 4,
"terraform_version": "1.3.7",
"serial": 3,
"lineage": "6cdc8ae0-8355-2447-7fb8-a9e9c2243e8f",
"outputs": {},
"resources": [
{
"mode": "managed",
"type": "tfcoremock_simple_resource",
"name": "base_before",
"provider": "provider[\"registry.terraform.io/hashicorp/tfcoremock\"]",
"instances": [
{
"schema_version": 0,
"attributes": {
"bool": null,
"float": null,
"id": "e450ef2f-b80f-0cce-8bdb-14d88f48649c",
"integer": null,
"number": null,
"string": "Hello, world!"
},
"sensitive_attributes": []
}
]
},
{
"mode": "managed",
"type": "tfcoremock_simple_resource",
"name": "dependent",
"provider": "provider[\"registry.terraform.io/hashicorp/tfcoremock\"]",
"instances": [
{
"schema_version": 0,
"attributes": {
"bool": null,
"float": null,
"id": "2ecc718c-8d04-5774-5c36-7d69bf77d34e",
"integer": null,
"number": null,
"string": "Hello, world!"
},
"sensitive_attributes": [],
"dependencies": [
"tfcoremock_simple_resource.base_before"
]
}
]
}
],
"check_results": null
}