github.com/terramate-io/tf@v0.0.0-20230830114523-fce866b4dfcd/command/testdata/show-json-state/modules/output.json (about)

     1  {
     2      "format_version": "1.0",
     3      "terraform_version": "0.12.0",
     4      "values": {
     5          "outputs": {
     6              "test": {
     7                  "sensitive": false,
     8                  "type": "string",
     9                  "value": "baz"
    10              }
    11          },
    12          "root_module": {
    13              "child_modules": [
    14                  {
    15                      "resources": [
    16                          {
    17                              "address": "module.module_test_bar.test_instance.example",
    18                              "mode": "managed",
    19                              "type": "test_instance",
    20                              "name": "example",
    21                              "provider_name": "registry.terraform.io/hashicorp/test",
    22                              "schema_version": 0,
    23                              "values": {
    24                                  "ami": "bar-var",
    25                                  "id": null
    26                              },
    27                              "sensitive_values": {}
    28                          }
    29                      ],
    30                      "address": "module.module_test_bar"
    31                  },
    32                  {
    33                      "resources": [
    34                          {
    35                              "address": "module.module_test_foo.test_instance.example[0]",
    36                              "mode": "managed",
    37                              "type": "test_instance",
    38                              "name": "example",
    39                              "index": 0,
    40                              "provider_name": "registry.terraform.io/hashicorp/test",
    41                              "schema_version": 0,
    42                              "values": {
    43                                  "ami": "foo-var",
    44                                  "id": null
    45                              },
    46                              "sensitive_values": {}
    47                          }
    48                      ],
    49                      "address": "module.module_test_foo"
    50                  }
    51              ]
    52          }
    53      }
    54  }