mirror of
https://github.com/opentofu/opentofu.git
synced 2024-12-28 01:41:48 -06:00
82b5cfad7e
* 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
557 lines
17 KiB
JSON
557 lines
17 KiB
JSON
{
|
|
"version": 4,
|
|
"terraform_version": "1.3.7",
|
|
"serial": 1,
|
|
"lineage": "bc319b50-c252-a9b5-3ce3-3128618500d6",
|
|
"outputs": {},
|
|
"resources": [
|
|
{
|
|
"mode": "managed",
|
|
"type": "tfcoremock_complex_resource",
|
|
"name": "complex",
|
|
"provider": "provider[\"registry.terraform.io/hashicorp/tfcoremock\"]",
|
|
"instances": [
|
|
{
|
|
"schema_version": 0,
|
|
"attributes": {
|
|
"bool": true,
|
|
"float": 987654321,
|
|
"id": "64564E36-BFCB-458B-9405-EBBF6A3CAC7A",
|
|
"integer": 987654321,
|
|
"list": [
|
|
{
|
|
"bool": null,
|
|
"float": null,
|
|
"integer": null,
|
|
"list": null,
|
|
"map": null,
|
|
"number": null,
|
|
"object": null,
|
|
"set": null,
|
|
"string": "this is my first entry in the list, and doesn't contain anything interesting"
|
|
},
|
|
{
|
|
"bool": null,
|
|
"float": null,
|
|
"integer": null,
|
|
"list": null,
|
|
"map": null,
|
|
"number": null,
|
|
"object": null,
|
|
"set": null,
|
|
"string": "this is my second entry in the list\nI am a bit more interesting\nand contain multiple lines"
|
|
},
|
|
{
|
|
"bool": null,
|
|
"float": null,
|
|
"integer": null,
|
|
"list": [
|
|
{
|
|
"bool": null,
|
|
"float": null,
|
|
"integer": null,
|
|
"list": null,
|
|
"map": null,
|
|
"number": 0,
|
|
"object": null,
|
|
"set": null,
|
|
"string": null
|
|
},
|
|
{
|
|
"bool": null,
|
|
"float": null,
|
|
"integer": null,
|
|
"list": null,
|
|
"map": null,
|
|
"number": 1,
|
|
"object": null,
|
|
"set": null,
|
|
"string": null
|
|
},
|
|
{
|
|
"bool": null,
|
|
"float": null,
|
|
"integer": null,
|
|
"list": null,
|
|
"map": null,
|
|
"number": 2,
|
|
"object": null,
|
|
"set": null,
|
|
"string": null
|
|
}
|
|
],
|
|
"map": null,
|
|
"number": null,
|
|
"object": null,
|
|
"set": null,
|
|
"string": "this is my third entry, and I actually have a nested list"
|
|
},
|
|
{
|
|
"bool": null,
|
|
"float": null,
|
|
"integer": null,
|
|
"list": null,
|
|
"map": null,
|
|
"number": null,
|
|
"object": null,
|
|
"set": [
|
|
{
|
|
"bool": null,
|
|
"float": null,
|
|
"integer": null,
|
|
"list": null,
|
|
"map": null,
|
|
"number": 0,
|
|
"object": null,
|
|
"set": null,
|
|
"string": null
|
|
},
|
|
{
|
|
"bool": null,
|
|
"float": null,
|
|
"integer": null,
|
|
"list": null,
|
|
"map": null,
|
|
"number": 1,
|
|
"object": null,
|
|
"set": null,
|
|
"string": null
|
|
}
|
|
],
|
|
"string": "this is my fourth entry, and I actually have a nested set"
|
|
}
|
|
],
|
|
"list_block": [
|
|
{
|
|
"bool": null,
|
|
"float": null,
|
|
"integer": null,
|
|
"list": null,
|
|
"list_block": [],
|
|
"map": null,
|
|
"number": null,
|
|
"object": null,
|
|
"set": null,
|
|
"set_block": [],
|
|
"string": "{\"index\":0}"
|
|
},
|
|
{
|
|
"bool": null,
|
|
"float": null,
|
|
"integer": null,
|
|
"list": [
|
|
{
|
|
"bool": null,
|
|
"float": null,
|
|
"integer": null,
|
|
"list": null,
|
|
"map": null,
|
|
"number": 0,
|
|
"object": null,
|
|
"set": null,
|
|
"string": null
|
|
},
|
|
{
|
|
"bool": null,
|
|
"float": null,
|
|
"integer": null,
|
|
"list": null,
|
|
"map": null,
|
|
"number": 1,
|
|
"object": null,
|
|
"set": null,
|
|
"string": null
|
|
},
|
|
{
|
|
"bool": null,
|
|
"float": null,
|
|
"integer": null,
|
|
"list": null,
|
|
"map": null,
|
|
"number": 2,
|
|
"object": null,
|
|
"set": null,
|
|
"string": null
|
|
}
|
|
],
|
|
"list_block": [],
|
|
"map": null,
|
|
"number": null,
|
|
"object": null,
|
|
"set": null,
|
|
"set_block": [],
|
|
"string": "{\"index\":1}"
|
|
},
|
|
{
|
|
"bool": null,
|
|
"float": null,
|
|
"integer": null,
|
|
"list": null,
|
|
"list_block": [],
|
|
"map": null,
|
|
"number": null,
|
|
"object": null,
|
|
"set": [
|
|
{
|
|
"bool": null,
|
|
"float": null,
|
|
"integer": null,
|
|
"list": null,
|
|
"map": null,
|
|
"number": 0,
|
|
"object": null,
|
|
"set": null,
|
|
"string": null
|
|
},
|
|
{
|
|
"bool": null,
|
|
"float": null,
|
|
"integer": null,
|
|
"list": null,
|
|
"map": null,
|
|
"number": 1,
|
|
"object": null,
|
|
"set": null,
|
|
"string": null
|
|
}
|
|
],
|
|
"set_block": [],
|
|
"string": "{\"index\":2}"
|
|
}
|
|
],
|
|
"map": {
|
|
"key_four": {
|
|
"bool": null,
|
|
"float": null,
|
|
"integer": null,
|
|
"list": null,
|
|
"map": null,
|
|
"number": null,
|
|
"object": null,
|
|
"set": [
|
|
{
|
|
"bool": null,
|
|
"float": null,
|
|
"integer": null,
|
|
"list": null,
|
|
"map": null,
|
|
"number": 0,
|
|
"object": null,
|
|
"set": null,
|
|
"string": null
|
|
},
|
|
{
|
|
"bool": null,
|
|
"float": null,
|
|
"integer": null,
|
|
"list": null,
|
|
"map": null,
|
|
"number": 1,
|
|
"object": null,
|
|
"set": null,
|
|
"string": null
|
|
}
|
|
],
|
|
"string": "this is my fourth entry, and I actually have a nested set"
|
|
},
|
|
"key_one": {
|
|
"bool": null,
|
|
"float": null,
|
|
"integer": null,
|
|
"list": null,
|
|
"map": null,
|
|
"number": null,
|
|
"object": null,
|
|
"set": null,
|
|
"string": "this is my first entry in the map, and doesn't contain anything interesting"
|
|
},
|
|
"key_three": {
|
|
"bool": null,
|
|
"float": null,
|
|
"integer": null,
|
|
"list": [
|
|
{
|
|
"bool": null,
|
|
"float": null,
|
|
"integer": null,
|
|
"list": null,
|
|
"map": null,
|
|
"number": 0,
|
|
"object": null,
|
|
"set": null,
|
|
"string": null
|
|
},
|
|
{
|
|
"bool": null,
|
|
"float": null,
|
|
"integer": null,
|
|
"list": null,
|
|
"map": null,
|
|
"number": 1,
|
|
"object": null,
|
|
"set": null,
|
|
"string": null
|
|
},
|
|
{
|
|
"bool": null,
|
|
"float": null,
|
|
"integer": null,
|
|
"list": null,
|
|
"map": null,
|
|
"number": 2,
|
|
"object": null,
|
|
"set": null,
|
|
"string": null
|
|
}
|
|
],
|
|
"map": null,
|
|
"number": null,
|
|
"object": null,
|
|
"set": null,
|
|
"string": "this is my third entry, and I actually have a nested list"
|
|
},
|
|
"key_two": {
|
|
"bool": null,
|
|
"float": null,
|
|
"integer": null,
|
|
"list": null,
|
|
"map": null,
|
|
"number": null,
|
|
"object": null,
|
|
"set": null,
|
|
"string": "this is my second entry in the map\nI am a bit more interesting\nand contain multiple lines"
|
|
}
|
|
},
|
|
"number": 123456789,
|
|
"object": {
|
|
"bool": false,
|
|
"float": null,
|
|
"integer": null,
|
|
"list": null,
|
|
"map": null,
|
|
"number": 0,
|
|
"object": {
|
|
"bool": true,
|
|
"float": null,
|
|
"integer": null,
|
|
"list": null,
|
|
"map": null,
|
|
"number": 1,
|
|
"object": null,
|
|
"set": null,
|
|
"string": "i am a nested nested object"
|
|
},
|
|
"set": null,
|
|
"string": "i am a nested object"
|
|
},
|
|
"set": [
|
|
{
|
|
"bool": null,
|
|
"float": null,
|
|
"integer": null,
|
|
"list": [
|
|
{
|
|
"bool": null,
|
|
"float": null,
|
|
"integer": null,
|
|
"list": null,
|
|
"map": null,
|
|
"number": 0,
|
|
"object": null,
|
|
"set": null,
|
|
"string": null
|
|
},
|
|
{
|
|
"bool": null,
|
|
"float": null,
|
|
"integer": null,
|
|
"list": null,
|
|
"map": null,
|
|
"number": 1,
|
|
"object": null,
|
|
"set": null,
|
|
"string": null
|
|
},
|
|
{
|
|
"bool": null,
|
|
"float": null,
|
|
"integer": null,
|
|
"list": null,
|
|
"map": null,
|
|
"number": 2,
|
|
"object": null,
|
|
"set": null,
|
|
"string": null
|
|
}
|
|
],
|
|
"map": null,
|
|
"number": null,
|
|
"object": null,
|
|
"set": null,
|
|
"string": "this is my third entry, and I actually have a nested list"
|
|
},
|
|
{
|
|
"bool": null,
|
|
"float": null,
|
|
"integer": null,
|
|
"list": null,
|
|
"map": null,
|
|
"number": null,
|
|
"object": null,
|
|
"set": [
|
|
{
|
|
"bool": null,
|
|
"float": null,
|
|
"integer": null,
|
|
"list": null,
|
|
"map": null,
|
|
"number": 0,
|
|
"object": null,
|
|
"set": null,
|
|
"string": null
|
|
},
|
|
{
|
|
"bool": null,
|
|
"float": null,
|
|
"integer": null,
|
|
"list": null,
|
|
"map": null,
|
|
"number": 1,
|
|
"object": null,
|
|
"set": null,
|
|
"string": null
|
|
}
|
|
],
|
|
"string": "this is my fourth entry, and I actually have a nested set"
|
|
},
|
|
{
|
|
"bool": null,
|
|
"float": null,
|
|
"integer": null,
|
|
"list": null,
|
|
"map": null,
|
|
"number": null,
|
|
"object": null,
|
|
"set": null,
|
|
"string": "this is my first entry in the set, and doesn't contain anything interesting"
|
|
},
|
|
{
|
|
"bool": null,
|
|
"float": null,
|
|
"integer": null,
|
|
"list": null,
|
|
"map": null,
|
|
"number": null,
|
|
"object": null,
|
|
"set": null,
|
|
"string": "this is my second entry in the set\nI am a bit more interesting\nand contain multiple lines"
|
|
}
|
|
],
|
|
"set_block": [
|
|
{
|
|
"bool": null,
|
|
"float": null,
|
|
"integer": null,
|
|
"list": [
|
|
{
|
|
"bool": null,
|
|
"float": null,
|
|
"integer": null,
|
|
"list": null,
|
|
"map": null,
|
|
"number": 0,
|
|
"object": null,
|
|
"set": null,
|
|
"string": null
|
|
},
|
|
{
|
|
"bool": null,
|
|
"float": null,
|
|
"integer": null,
|
|
"list": null,
|
|
"map": null,
|
|
"number": 1,
|
|
"object": null,
|
|
"set": null,
|
|
"string": null
|
|
},
|
|
{
|
|
"bool": null,
|
|
"float": null,
|
|
"integer": null,
|
|
"list": null,
|
|
"map": null,
|
|
"number": 2,
|
|
"object": null,
|
|
"set": null,
|
|
"string": null
|
|
}
|
|
],
|
|
"list_block": [],
|
|
"map": null,
|
|
"number": null,
|
|
"object": null,
|
|
"set": null,
|
|
"set_block": [],
|
|
"string": "{\"index\":1}"
|
|
},
|
|
{
|
|
"bool": null,
|
|
"float": null,
|
|
"integer": null,
|
|
"list": null,
|
|
"list_block": [],
|
|
"map": null,
|
|
"number": null,
|
|
"object": null,
|
|
"set": [
|
|
{
|
|
"bool": null,
|
|
"float": null,
|
|
"integer": null,
|
|
"list": null,
|
|
"map": null,
|
|
"number": 0,
|
|
"object": null,
|
|
"set": null,
|
|
"string": null
|
|
},
|
|
{
|
|
"bool": null,
|
|
"float": null,
|
|
"integer": null,
|
|
"list": null,
|
|
"map": null,
|
|
"number": 1,
|
|
"object": null,
|
|
"set": null,
|
|
"string": null
|
|
}
|
|
],
|
|
"set_block": [],
|
|
"string": "{\"index\":2}"
|
|
},
|
|
{
|
|
"bool": null,
|
|
"float": null,
|
|
"integer": null,
|
|
"list": null,
|
|
"list_block": [],
|
|
"map": null,
|
|
"number": null,
|
|
"object": null,
|
|
"set": null,
|
|
"set_block": [],
|
|
"string": "{\"index\":0}"
|
|
}
|
|
],
|
|
"string": "a not very long or complex string"
|
|
},
|
|
"sensitive_attributes": []
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"check_results": null
|
|
}
|