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

     1  {
     2      "version": 4,
     3      "terraform_version": "0.15.0",
     4      "serial": 8,
     5      "lineage": "00bfda35-ad61-ec8d-c013-14b0320bc416",
     6      "resources": [
     7          {
     8              "mode": "managed",
     9              "type": "test_instance",
    10              "name": "root",
    11              "provider": "provider[\"registry.terraform.io/hashicorp/test\"]",
    12              "instances": [
    13                  {
    14                      "attributes": {
    15                          "id": "root"
    16                      }
    17                  }
    18              ]
    19          },
    20          {
    21              "module": "module.nest",
    22              "mode": "managed",
    23              "type": "test_instance",
    24              "name": "nest",
    25              "provider": "provider[\"registry.terraform.io/hashicorp/test\"]",
    26              "instances": [
    27                  {
    28                      "attributes": {
    29                          "ami": "nested"
    30                      }
    31                  }
    32              ]
    33          },
    34          {
    35              "module": "module.nest.module.subnest",
    36              "mode": "managed",
    37              "type": "test_instance",
    38              "name": "subnest",
    39              "provider": "provider[\"registry.terraform.io/hashicorp/test\"]",
    40              "instances": [
    41                  {
    42                      "attributes": {
    43                          "id": "subnested"
    44                      }
    45                  }
    46              ]
    47          },
    48          {
    49              "module": "module.nonexist.module.child",
    50              "mode": "managed",
    51              "type": "test_instance",
    52              "name": "child",
    53              "provider": "provider[\"registry.terraform.io/hashicorp/test\"]",
    54              "instances": [
    55                  {
    56                      "attributes": {
    57                          "id": "child"
    58                      }
    59                  }
    60              ]
    61          },
    62          {
    63              "module": "module.count[0]",
    64              "mode": "managed",
    65              "type": "test_instance",
    66              "name": "count",
    67              "provider": "provider[\"registry.terraform.io/hashicorp/test\"]",
    68              "instances": [
    69                  {
    70                      "attributes": {
    71                          "id": "zero"
    72                      }
    73                  }
    74              ]
    75          },
    76          {
    77              "module": "module.count[1]",
    78              "mode": "managed",
    79              "type": "test_instance",
    80              "name": "count",
    81              "provider": "provider[\"registry.terraform.io/hashicorp/test\"]",
    82              "instances": [
    83                  {
    84                      "attributes": {
    85                          "id": "one"
    86                      }
    87                  }
    88              ]
    89          }
    90      ]
    91  }