github.com/iaas-resource-provision/iaas-rpc@v1.0.7-0.20211021023331-ed21f798c408/internal/command/testdata/show-json-state/modules/output.json (about)

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