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

     1  {
     2      "version": 4,
     3      "terraform_version": "0.12.0",
     4      "serial": 8,
     5      "lineage": "00bfda35-ad61-ec8d-c013-14b0320bc416",
     6      "outputs": {
     7          "test": {
     8              "value": "baz",
     9              "type": "string"
    10          }
    11      },
    12      "resources": [
    13          {
    14              "module": "module.module_test_foo",
    15              "mode": "managed",
    16              "type": "test_instance",
    17              "name": "example",
    18              "each": "list",
    19              "provider": "provider[\"registry.terraform.io/hashicorp/test\"]",
    20              "instances": [
    21                  {
    22                      "index_key": 0,
    23                      "schema_version": 0,
    24                      "attributes": {
    25                          "ami": "foo-var"
    26                      },
    27                      "private": "bnVsbA=="
    28                  }
    29              ]
    30          },
    31          {
    32              "module": "module.module_test_bar",
    33              "mode": "managed",
    34              "type": "test_instance",
    35              "name": "example",
    36              "provider": "provider[\"registry.terraform.io/hashicorp/test\"]",
    37              "instances": [
    38                  {
    39                      "schema_version": 0,
    40                      "attributes": {
    41                          "ami": "bar-var"
    42                      },
    43                      "private": "bnVsbA=="
    44                  }
    45              ]
    46          }
    47      ]
    48  }