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

     1  {
     2      "format_version": "1.0",
     3      "variables": {
     4          "test_var": {
     5              "value": "bar"
     6          }
     7      },
     8      "planned_values": {
     9          "outputs": {
    10              "test": {
    11                  "sensitive": false,
    12                  "type": "string",
    13                  "value": "bar"
    14              }
    15          },
    16          "root_module": {
    17              "resources": [
    18                  {
    19                      "address": "test_instance.test",
    20                      "mode": "managed",
    21                      "type": "test_instance",
    22                      "name": "test",
    23                      "provider_name": "registry.terraform.io/hashicorp/test",
    24                      "schema_version": 0,
    25                      "values": {
    26                          "ami": "bar",
    27                          "id": "placeholder"
    28                      },
    29                      "sensitive_values": {}
    30                  }
    31              ]
    32          }
    33      },
    34      "resource_changes": [
    35          {
    36              "address": "test_instance.test",
    37              "mode": "managed",
    38              "type": "test_instance",
    39              "provider_name": "registry.terraform.io/hashicorp/test",
    40              "name": "test",
    41              "change": {
    42                  "actions": [
    43                      "no-op"
    44                  ],
    45                  "before": {
    46                      "ami": "bar",
    47                      "id": "placeholder"
    48                  },
    49                  "after": {
    50                      "ami": "bar",
    51                      "id": "placeholder"
    52                  },
    53                  "after_unknown": {},
    54                  "after_sensitive": {},
    55                  "before_sensitive": {}
    56              }
    57          }
    58      ],
    59      "output_changes": {
    60          "test": {
    61              "actions": [
    62                  "no-op"
    63              ],
    64              "before": "bar",
    65              "after": "bar",
    66              "after_unknown": false,
    67              "before_sensitive": false,
    68              "after_sensitive": false
    69          }
    70      },
    71      "prior_state": {
    72          "format_version": "1.0",
    73          "values": {
    74              "outputs": {
    75                  "test": {
    76                      "sensitive": false,
    77                      "type": "string",
    78                      "value": "bar"
    79                  }
    80              },
    81              "root_module": {
    82                  "resources": [
    83                      {
    84                          "address": "test_instance.test",
    85                          "mode": "managed",
    86                          "type": "test_instance",
    87                          "name": "test",
    88                          "schema_version": 0,
    89                          "provider_name": "registry.terraform.io/hashicorp/test",
    90                          "values": {
    91                              "ami": "bar",
    92                              "id": "placeholder"
    93                          },
    94                          "sensitive_values": {}
    95                      }
    96                  ]
    97              }
    98          }
    99      },
   100      "configuration": {
   101          "provider_config": {
   102              "test": {
   103                  "name": "test",
   104                  "full_name": "registry.terraform.io/hashicorp/test"
   105              }
   106          },
   107          "root_module": {
   108              "outputs": {
   109                  "test": {
   110                      "expression": {
   111                          "references": [
   112                              "var.test_var"
   113                          ]
   114                      }
   115                  }
   116              },
   117              "resources": [
   118                  {
   119                      "address": "test_instance.test",
   120                      "mode": "managed",
   121                      "type": "test_instance",
   122                      "name": "test",
   123                      "provider_config_key": "test",
   124                      "schema_version": 0,
   125                      "expressions": {
   126                          "ami": {
   127                              "references": [
   128                                  "var.test_var"
   129                              ]
   130                          }
   131                      }
   132                  }
   133              ],
   134              "variables": {
   135                  "test_var": {
   136                      "default": "bar"
   137                  }
   138              }
   139          }
   140      }
   141  }