terraform/command/test-fixtures/show-json/basic-delete/output.json

137 lines
3.8 KiB
JSON
Raw Normal View History

{
"format_version": "0.1",
"planned_values": {
"outputs": {
"test": {
"sensitive": false,
"value": "bar"
}
},
"root_module": {
"resources": [
{
"address": "test_instance.test",
"mode": "managed",
"type": "test_instance",
"name": "test",
"provider_name": "test",
"schema_version": 0,
"values": {
"ami": {},
"id": {}
}
}
]
}
},
"resource_changes": [
{
"address": "test_instance.test",
"mode": "managed",
"type": "test_instance",
"name": "test",
"deposed": true,
"change": {
"actions": [
"Update"
],
"before": {
"ami": "foo",
"id": null
},
"after": {
"ami": "bar",
"id": null
},
"after_unknown": {
"ami": false,
"id": false
}
}
},
{
"address": "test_instance.test-delete",
"mode": "managed",
"type": "test_instance",
"name": "test-delete",
"deposed": true,
"change": {
"actions": [
"Delete"
],
"before": {
"ami": "foo",
"id": null
},
"after": null,
"after_unknown": false
}
}
],
"output_changes": {
"test": {
"actions": [
"Create"
],
"before": null,
"after": "bar",
"after_unknown": false
}
},
"prior_state": {
"format_version": "0.1",
"values": {
"root_module": {
"resources": [
{
"address": "test_instance.test",
"mode": "managed",
"type": "test_instance",
"name": "test",
"provider_name": "test",
"values": {
"ami": {},
"id": {}
}
},
{
"address": "test_instance.test-delete",
"mode": "managed",
"type": "test_instance",
"name": "test-delete",
"provider_name": "test",
"values": {
"ami": {},
"id": {}
}
}
]
}
}
},
"configuration": {
"root_module": {
"outputs": {
"test": {
"expression": {
"references": [
"var.test_var"
]
}
}
},
"resources": [
{
"address": "test_instance.test",
"mode": "managed",
"type": "test_instance",
"name": "test",
"provider_config_key": "provider.test",
"schema_version": 0,
"count_expression": {},
"for_each_expression": {}
}
]
}
}
}