github.com/graywolf-at-work-2/terraform-vendor@v1.4.5/internal/command/testdata/show-json/requires-replace/output.json (about)

     1  {
     2      "format_version": "1.0",
     3      "planned_values": {
     4          "root_module": {
     5              "resources": [
     6                  {
     7                      "address": "test_instance.test",
     8                      "mode": "managed",
     9                      "type": "test_instance",
    10                      "name": "test",
    11                      "provider_name": "registry.terraform.io/hashicorp/test",
    12                      "schema_version": 0,
    13                      "values": {
    14                          "ami": "force-replace"
    15                      },
    16                      "sensitive_values": {}
    17                  }
    18              ]
    19          }
    20      },
    21      "resource_changes": [
    22          {
    23              "address": "test_instance.test",
    24              "mode": "managed",
    25              "type": "test_instance",
    26              "provider_name": "registry.terraform.io/hashicorp/test",
    27              "name": "test",
    28              "change": {
    29                  "actions": [
    30                      "delete",
    31                      "create"
    32                  ],
    33                  "before": {
    34                      "ami": "bar",
    35                      "id": "placeholder"
    36                  },
    37                  "after": {
    38                      "ami": "force-replace"
    39                  },
    40                  "after_unknown": {
    41                      "id": true
    42                  },
    43                  "after_sensitive": {},
    44                  "before_sensitive": {},
    45                  "replace_paths": [["ami"]]
    46              },
    47              "action_reason": "replace_because_cannot_update"
    48          }
    49      ],
    50      "prior_state": {
    51          "format_version": "1.0",
    52          "values": {
    53              "root_module": {
    54                  "resources": [
    55                      {
    56                          "address": "test_instance.test",
    57                          "mode": "managed",
    58                          "type": "test_instance",
    59                          "name": "test",
    60                          "schema_version": 0,
    61                          "provider_name": "registry.terraform.io/hashicorp/test",
    62                          "values": {
    63                              "ami": "bar",
    64                              "id": "placeholder"
    65                          },
    66                          "sensitive_values": {}
    67                      }
    68                  ]
    69              }
    70          }
    71      },
    72      "configuration": {
    73          "provider_config": {
    74              "test": {
    75                  "name": "test",
    76                  "full_name": "registry.terraform.io/hashicorp/test"
    77              }
    78          },
    79          "root_module": {
    80              "resources": [
    81                  {
    82                      "address": "test_instance.test",
    83                      "mode": "managed",
    84                      "type": "test_instance",
    85                      "name": "test",
    86                      "provider_config_key": "test",
    87                      "schema_version": 0,
    88                      "expressions": {
    89                          "ami": {
    90                              "constant_value": "force-replace"
    91                          }
    92                      }
    93                  }
    94              ]
    95          }
    96      }
    97  }