github.com/terramate-io/tf@v0.0.0-20230830114523-fce866b4dfcd/testing/equivalence-tests/outputs/nested_objects/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": "5425587C-49EF-4C1E-A906-1DC923A12725"
    23                  },
    24                  "second_nested_object": {
    25                    "attribute_one": "63712BFE-78F8-42D3-A074-A78249E5E25E",
    26                    "attribute_two": "FB350D92-4AAE-48C6-A408-BFFAFAD46B04"
    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": "5425587C-49EF-4C1E-A906-1DC923A12725"
    63                },
    64                "second_nested_object": {
    65                  "attribute_one": "63712BFE-78F8-42D3-A074-A78249E5E25E",
    66                  "attribute_two": "FB350D92-4AAE-48C6-A408-BFFAFAD46B04"
    67                }
    68              }
    69            }
    70          }
    71        ]
    72      }
    73    },
    74    "resource_changes": [
    75      {
    76        "address": "tfcoremock_nested_object.nested_object",
    77        "change": {
    78          "actions": [
    79            "create"
    80          ],
    81          "after": {
    82            "id": "B2491EF0-9361-40FD-B25A-0332A1A5E052",
    83            "parent_object": {
    84              "first_nested_object": {
    85                "attribute_one": "09AE7244-7BFB-476B-912C-D1AB4E7E9622",
    86                "attribute_two": "5425587C-49EF-4C1E-A906-1DC923A12725"
    87              },
    88              "second_nested_object": {
    89                "attribute_one": "63712BFE-78F8-42D3-A074-A78249E5E25E",
    90                "attribute_two": "FB350D92-4AAE-48C6-A408-BFFAFAD46B04"
    91              }
    92            }
    93          },
    94          "after_sensitive": {
    95            "parent_object": {
    96              "first_nested_object": {},
    97              "second_nested_object": {}
    98            }
    99          },
   100          "after_unknown": {},
   101          "before": null,
   102          "before_sensitive": false
   103        },
   104        "mode": "managed",
   105        "name": "nested_object",
   106        "provider_name": "registry.terraform.io/hashicorp/tfcoremock",
   107        "type": "tfcoremock_nested_object"
   108      }
   109    ]
   110  }