states: Add roundtrip v3->v4 with builtin provider
This commit is contained in:
parent
d53a4ac588
commit
e02e53ed4d
|
@ -0,0 +1,39 @@
|
|||
{
|
||||
"version": 3,
|
||||
"terraform_version": "0.11.14",
|
||||
"serial": 1,
|
||||
"lineage": "b707851e-4209-9792-e752-bc0dd6c81fcf",
|
||||
"modules": [
|
||||
{
|
||||
"path": [
|
||||
"root"
|
||||
],
|
||||
"outputs": {},
|
||||
"resources": {
|
||||
"data.terraform_remote_state.test": {
|
||||
"type": "terraform_remote_state",
|
||||
"depends_on": [],
|
||||
"primary": {
|
||||
"id": "2020-08-14 19:13:36.875081 +0000 UTC",
|
||||
"attributes": {
|
||||
"backend": "remote",
|
||||
"config.#": "1",
|
||||
"config.345861710.organization": "hashicorp",
|
||||
"config.345861710.workspaces.#": "1",
|
||||
"config.345861710.workspaces.0.%": "1",
|
||||
"config.345861710.workspaces.0.name": "test",
|
||||
"environment": "default",
|
||||
"id": "2020-08-14 19:13:36.875081 +0000 UTC",
|
||||
"workspace": "default"
|
||||
},
|
||||
"meta": {},
|
||||
"tainted": false
|
||||
},
|
||||
"deposed": [],
|
||||
"provider": "provider.terraform"
|
||||
}
|
||||
},
|
||||
"depends_on": []
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,31 @@
|
|||
{
|
||||
"version": 4,
|
||||
"terraform_version": "0.12.28",
|
||||
"serial": 1,
|
||||
"lineage": "b707851e-4209-9792-e752-bc0dd6c81fcf",
|
||||
"outputs": {},
|
||||
"resources": [
|
||||
{
|
||||
"mode": "data",
|
||||
"type": "terraform_remote_state",
|
||||
"name": "test",
|
||||
"provider": "provider.terraform",
|
||||
"instances": [
|
||||
{
|
||||
"schema_version": 0,
|
||||
"attributes_flat": {
|
||||
"backend": "remote",
|
||||
"config.#": "1",
|
||||
"config.345861710.organization": "hashicorp",
|
||||
"config.345861710.workspaces.#": "1",
|
||||
"config.345861710.workspaces.0.%": "1",
|
||||
"config.345861710.workspaces.0.name": "test",
|
||||
"environment": "default",
|
||||
"id": "2020-08-14 19:13:36.875081 +0000 UTC",
|
||||
"workspace": "default"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
Loading…
Reference in New Issue