github.com/terramate-io/tf@v0.0.0-20230830114523-fce866b4dfcd/testing/equivalence-tests/outputs/nested_objects_update/plan.json (about) 1 { 2 "configuration": { 3 "provider_config": { 4 "tfcoremock": { 5 "full_name": "registry.terraform.io/hashicorp/tfcoremock", 6 "name": "tfcoremock", 7 "version_constraint": "0.1.1" 8 } 9 }, 10 "root_module": { 11 "resources": [ 12 { 13 "address": "tfcoremock_nested_object.nested_object", 14 "expressions": { 15 "id": { 16 "constant_value": "B2491EF0-9361-40FD-B25A-0332A1A5E052" 17 }, 18 "parent_object": { 19 "constant_value": { 20 "first_nested_object": { 21 "attribute_one": "09AE7244-7BFB-476B-912C-D1AB4E7E9622", 22 "attribute_two": "FB350D92-4AAE-48C6-A408-BFFAFAD46B04" 23 }, 24 "second_nested_object": { 25 "attribute_one": "63712BFE-78F8-42D3-A074-A78249E5E25E", 26 "attribute_two": "5425587C-49EF-4C1E-A906-1DC923A12725" 27 } 28 } 29 } 30 }, 31 "mode": "managed", 32 "name": "nested_object", 33 "provider_config_key": "tfcoremock", 34 "schema_version": 0, 35 "type": "tfcoremock_nested_object" 36 } 37 ] 38 } 39 }, 40 "format_version": "1.1", 41 "planned_values": { 42 "root_module": { 43 "resources": [ 44 { 45 "address": "tfcoremock_nested_object.nested_object", 46 "mode": "managed", 47 "name": "nested_object", 48 "provider_name": "registry.terraform.io/hashicorp/tfcoremock", 49 "schema_version": 0, 50 "sensitive_values": { 51 "parent_object": { 52 "first_nested_object": {}, 53 "second_nested_object": {} 54 } 55 }, 56 "type": "tfcoremock_nested_object", 57 "values": { 58 "id": "B2491EF0-9361-40FD-B25A-0332A1A5E052", 59 "parent_object": { 60 "first_nested_object": { 61 "attribute_one": "09AE7244-7BFB-476B-912C-D1AB4E7E9622", 62 "attribute_two": "FB350D92-4AAE-48C6-A408-BFFAFAD46B04" 63 }, 64 "second_nested_object": { 65 "attribute_one": "63712BFE-78F8-42D3-A074-A78249E5E25E", 66 "attribute_two": "5425587C-49EF-4C1E-A906-1DC923A12725" 67 } 68 } 69 } 70 } 71 ] 72 } 73 }, 74 "prior_state": { 75 "format_version": "1.0", 76 "values": { 77 "root_module": { 78 "resources": [ 79 { 80 "address": "tfcoremock_nested_object.nested_object", 81 "mode": "managed", 82 "name": "nested_object", 83 "provider_name": "registry.terraform.io/hashicorp/tfcoremock", 84 "schema_version": 0, 85 "sensitive_values": { 86 "parent_object": { 87 "first_nested_object": {}, 88 "second_nested_object": {} 89 } 90 }, 91 "type": "tfcoremock_nested_object", 92 "values": { 93 "id": "B2491EF0-9361-40FD-B25A-0332A1A5E052", 94 "parent_object": { 95 "first_nested_object": { 96 "attribute_one": "09AE7244-7BFB-476B-912C-D1AB4E7E9622", 97 "attribute_two": "5425587C-49EF-4C1E-A906-1DC923A12725" 98 }, 99 "second_nested_object": { 100 "attribute_one": "63712BFE-78F8-42D3-A074-A78249E5E25E", 101 "attribute_two": "FB350D92-4AAE-48C6-A408-BFFAFAD46B04" 102 } 103 } 104 } 105 } 106 ] 107 } 108 } 109 }, 110 "resource_changes": [ 111 { 112 "address": "tfcoremock_nested_object.nested_object", 113 "change": { 114 "actions": [ 115 "update" 116 ], 117 "after": { 118 "id": "B2491EF0-9361-40FD-B25A-0332A1A5E052", 119 "parent_object": { 120 "first_nested_object": { 121 "attribute_one": "09AE7244-7BFB-476B-912C-D1AB4E7E9622", 122 "attribute_two": "FB350D92-4AAE-48C6-A408-BFFAFAD46B04" 123 }, 124 "second_nested_object": { 125 "attribute_one": "63712BFE-78F8-42D3-A074-A78249E5E25E", 126 "attribute_two": "5425587C-49EF-4C1E-A906-1DC923A12725" 127 } 128 } 129 }, 130 "after_sensitive": { 131 "parent_object": { 132 "first_nested_object": {}, 133 "second_nested_object": {} 134 } 135 }, 136 "after_unknown": {}, 137 "before": { 138 "id": "B2491EF0-9361-40FD-B25A-0332A1A5E052", 139 "parent_object": { 140 "first_nested_object": { 141 "attribute_one": "09AE7244-7BFB-476B-912C-D1AB4E7E9622", 142 "attribute_two": "5425587C-49EF-4C1E-A906-1DC923A12725" 143 }, 144 "second_nested_object": { 145 "attribute_one": "63712BFE-78F8-42D3-A074-A78249E5E25E", 146 "attribute_two": "FB350D92-4AAE-48C6-A408-BFFAFAD46B04" 147 } 148 } 149 }, 150 "before_sensitive": { 151 "parent_object": { 152 "first_nested_object": {}, 153 "second_nested_object": {} 154 } 155 } 156 }, 157 "mode": "managed", 158 "name": "nested_object", 159 "provider_name": "registry.terraform.io/hashicorp/tfcoremock", 160 "type": "tfcoremock_nested_object" 161 } 162 ] 163 }