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

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