github.com/graywolf-at-work-2/terraform-vendor@v1.4.5/internal/command/testdata/show-json/basic-create/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[0]",
    20                      "index": 0,
    21                      "mode": "managed",
    22                      "type": "test_instance",
    23                      "name": "test",
    24                      "provider_name": "registry.terraform.io/hashicorp/test",
    25                      "schema_version": 0,
    26                      "values": {
    27                          "ami": "bar"
    28                      },
    29                      "sensitive_values": {}
    30                  },
    31                  {
    32                      "address": "test_instance.test[1]",
    33                      "index": 1,
    34                      "mode": "managed",
    35                      "type": "test_instance",
    36                      "name": "test",
    37                      "provider_name": "registry.terraform.io/hashicorp/test",
    38                      "schema_version": 0,
    39                      "values": {
    40                          "ami": "bar"
    41                      },
    42                      "sensitive_values": {}
    43                  },
    44                  {
    45                      "address": "test_instance.test[2]",
    46                      "index": 2,
    47                      "mode": "managed",
    48                      "type": "test_instance",
    49                      "name": "test",
    50                      "provider_name": "registry.terraform.io/hashicorp/test",
    51                      "schema_version": 0,
    52                      "values": {
    53                          "ami": "bar"
    54                      },
    55                      "sensitive_values": {}
    56                  }
    57              ]
    58          }
    59      },
    60      "prior_state": {
    61          "format_version": "1.0",
    62          "values": {
    63              "outputs": {
    64                  "test": {
    65                      "sensitive": false,
    66                      "type": "string",
    67                      "value": "bar"
    68                  }
    69              },
    70              "root_module": {}
    71          }
    72      },
    73      "resource_changes": [
    74          {
    75              "address": "test_instance.test[0]",
    76              "index": 0,
    77              "mode": "managed",
    78              "type": "test_instance",
    79              "provider_name": "registry.terraform.io/hashicorp/test",
    80              "name": "test",
    81              "change": {
    82                  "actions": [
    83                      "create"
    84                  ],
    85                  "before": null,
    86                  "after_unknown": {
    87                      "id": true
    88                  },
    89                  "after": {
    90                      "ami": "bar"
    91                  },
    92                  "after_sensitive": {},
    93                  "before_sensitive": false
    94              }
    95          },
    96          {
    97              "address": "test_instance.test[1]",
    98              "index": 1,
    99              "mode": "managed",
   100              "type": "test_instance",
   101              "provider_name": "registry.terraform.io/hashicorp/test",
   102              "name": "test",
   103              "change": {
   104                  "actions": [
   105                      "create"
   106                  ],
   107                  "before": null,
   108                  "after_unknown": {
   109                      "id": true
   110                  },
   111                  "after": {
   112                      "ami": "bar"
   113                  },
   114                  "after_sensitive": {},
   115                  "before_sensitive": false
   116              }
   117          },
   118          {
   119              "address": "test_instance.test[2]",
   120              "index": 2,
   121              "mode": "managed",
   122              "type": "test_instance",
   123              "provider_name": "registry.terraform.io/hashicorp/test",
   124              "name": "test",
   125              "change": {
   126                  "actions": [
   127                      "create"
   128                  ],
   129                  "before": null,
   130                  "after_unknown": {
   131                      "id": true
   132                  },
   133                  "after": {
   134                      "ami": "bar"
   135                  },
   136                  "after_sensitive": {},
   137                  "before_sensitive": false
   138              }
   139          }
   140      ],
   141      "output_changes": {
   142          "test": {
   143              "actions": [
   144                  "create"
   145              ],
   146              "before": null,
   147              "after": "bar",
   148              "after_unknown": false,
   149              "before_sensitive": false,
   150              "after_sensitive": false
   151          }
   152      },
   153      "configuration": {
   154          "provider_config": {
   155              "test": {
   156                  "name": "test",
   157                  "full_name": "registry.terraform.io/hashicorp/test",
   158                  "expressions": {
   159                      "region": {
   160                          "constant_value": "somewhere"
   161                      }
   162                  }
   163              }
   164          },
   165          "root_module": {
   166              "outputs": {
   167                  "test": {
   168                      "expression": {
   169                          "references": [
   170                              "var.test_var"
   171                          ]
   172                      }
   173                  }
   174              },
   175              "resources": [
   176                  {
   177                      "address": "test_instance.test",
   178                      "mode": "managed",
   179                      "type": "test_instance",
   180                      "name": "test",
   181                      "provider_config_key": "test",
   182                      "schema_version": 0,
   183                      "expressions": {
   184                          "ami": {
   185                              "references": [
   186                                  "var.test_var"
   187                              ]
   188                          }
   189                      },
   190                      "count_expression": {
   191                          "constant_value": 3
   192                      }
   193                  }
   194              ],
   195              "variables": {
   196                  "test_var": {
   197                      "default": "bar"
   198                  }
   199              }
   200          }
   201      }
   202  }