terraform/internal/command/testdata/state-list-nested-modules/terraform.tfstate

92 lines
2.5 KiB
JSON

{
"version": 4,
"terraform_version": "0.15.0",
"serial": 8,
"lineage": "00bfda35-ad61-ec8d-c013-14b0320bc416",
"resources": [
{
"mode": "managed",
"type": "test_instance",
"name": "root",
"provider": "provider[\"registry.terraform.io/hashicorp/test\"]",
"instances": [
{
"attributes": {
"id": "root"
}
}
]
},
{
"module": "module.nest",
"mode": "managed",
"type": "test_instance",
"name": "nest",
"provider": "provider[\"registry.terraform.io/hashicorp/test\"]",
"instances": [
{
"attributes": {
"ami": "nested"
}
}
]
},
{
"module": "module.nest.module.subnest",
"mode": "managed",
"type": "test_instance",
"name": "subnest",
"provider": "provider[\"registry.terraform.io/hashicorp/test\"]",
"instances": [
{
"attributes": {
"id": "subnested"
}
}
]
},
{
"module": "module.nonexist.module.child",
"mode": "managed",
"type": "test_instance",
"name": "child",
"provider": "provider[\"registry.terraform.io/hashicorp/test\"]",
"instances": [
{
"attributes": {
"id": "child"
}
}
]
},
{
"module": "module.count[0]",
"mode": "managed",
"type": "test_instance",
"name": "count",
"provider": "provider[\"registry.terraform.io/hashicorp/test\"]",
"instances": [
{
"attributes": {
"id": "zero"
}
}
]
},
{
"module": "module.count[1]",
"mode": "managed",
"type": "test_instance",
"name": "count",
"provider": "provider[\"registry.terraform.io/hashicorp/test\"]",
"instances": [
{
"attributes": {
"id": "one"
}
}
]
}
]
}