github.com/terramate-io/tf@v0.0.0-20230830114523-fce866b4dfcd/testing/equivalence-tests/outputs/basic_json_string_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_simple_resource.json",
    14            "expressions": {
    15              "string": {
    16                "constant_value": "{\"list-attribute\":[\"one\",\"four\",\"three\"],\"object-attribute\":{\"key_one\":\"value_one\",\"key_three\":\"value_two\", \"key_four\":\"value_three\"},\"string-attribute\":\"a new string\"}"
    17              }
    18            },
    19            "mode": "managed",
    20            "name": "json",
    21            "provider_config_key": "tfcoremock",
    22            "schema_version": 0,
    23            "type": "tfcoremock_simple_resource"
    24          }
    25        ]
    26      }
    27    },
    28    "format_version": "1.1",
    29    "planned_values": {
    30      "root_module": {
    31        "resources": [
    32          {
    33            "address": "tfcoremock_simple_resource.json",
    34            "mode": "managed",
    35            "name": "json",
    36            "provider_name": "registry.terraform.io/hashicorp/tfcoremock",
    37            "schema_version": 0,
    38            "sensitive_values": {},
    39            "type": "tfcoremock_simple_resource",
    40            "values": {
    41              "bool": null,
    42              "float": null,
    43              "id": "5a3fd9b3-e852-8956-8c0a-255d47eda645",
    44              "integer": null,
    45              "number": null,
    46              "string": "{\"list-attribute\":[\"one\",\"four\",\"three\"],\"object-attribute\":{\"key_one\":\"value_one\",\"key_three\":\"value_two\", \"key_four\":\"value_three\"},\"string-attribute\":\"a new string\"}"
    47            }
    48          }
    49        ]
    50      }
    51    },
    52    "prior_state": {
    53      "format_version": "1.0",
    54      "values": {
    55        "root_module": {
    56          "resources": [
    57            {
    58              "address": "tfcoremock_simple_resource.json",
    59              "mode": "managed",
    60              "name": "json",
    61              "provider_name": "registry.terraform.io/hashicorp/tfcoremock",
    62              "schema_version": 0,
    63              "sensitive_values": {},
    64              "type": "tfcoremock_simple_resource",
    65              "values": {
    66                "bool": null,
    67                "float": null,
    68                "id": "5a3fd9b3-e852-8956-8c0a-255d47eda645",
    69                "integer": null,
    70                "number": null,
    71                "string": "{\"list-attribute\":[\"one\",\"two\",\"three\"],\"object-attribute\":{\"key_one\":\"value_one\",\"key_two\":\"value_two\",\"key_three\":\"value_three\"},\"string-attribute\":\"string\"}"
    72              }
    73            }
    74          ]
    75        }
    76      }
    77    },
    78    "resource_changes": [
    79      {
    80        "address": "tfcoremock_simple_resource.json",
    81        "change": {
    82          "actions": [
    83            "update"
    84          ],
    85          "after": {
    86            "bool": null,
    87            "float": null,
    88            "id": "5a3fd9b3-e852-8956-8c0a-255d47eda645",
    89            "integer": null,
    90            "number": null,
    91            "string": "{\"list-attribute\":[\"one\",\"four\",\"three\"],\"object-attribute\":{\"key_one\":\"value_one\",\"key_three\":\"value_two\", \"key_four\":\"value_three\"},\"string-attribute\":\"a new string\"}"
    92          },
    93          "after_sensitive": {},
    94          "after_unknown": {},
    95          "before": {
    96            "bool": null,
    97            "float": null,
    98            "id": "5a3fd9b3-e852-8956-8c0a-255d47eda645",
    99            "integer": null,
   100            "number": null,
   101            "string": "{\"list-attribute\":[\"one\",\"two\",\"three\"],\"object-attribute\":{\"key_one\":\"value_one\",\"key_two\":\"value_two\",\"key_three\":\"value_three\"},\"string-attribute\":\"string\"}"
   102          },
   103          "before_sensitive": {}
   104        },
   105        "mode": "managed",
   106        "name": "json",
   107        "provider_name": "registry.terraform.io/hashicorp/tfcoremock",
   108        "type": "tfcoremock_simple_resource"
   109      }
   110    ]
   111  }