2021-09-17 19:18:34 +02:00
|
|
|
{
|
2021-09-01 17:17:13 +02:00
|
|
|
"format_version": "1.0",
|
2021-09-17 19:18:34 +02:00
|
|
|
"planned_values": {
|
|
|
|
"root_module": {
|
|
|
|
"resources": [
|
|
|
|
{
|
|
|
|
"address": "test_instance.baz",
|
|
|
|
"mode": "managed",
|
|
|
|
"type": "test_instance",
|
|
|
|
"name": "baz",
|
|
|
|
"provider_name": "registry.terraform.io/hashicorp/test",
|
|
|
|
"schema_version": 0,
|
|
|
|
"values": {
|
|
|
|
"ami": "baz",
|
|
|
|
"id": "placeholder"
|
|
|
|
},
|
|
|
|
"sensitive_values": {}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"resource_changes": [
|
|
|
|
{
|
|
|
|
"address": "test_instance.baz",
|
|
|
|
"mode": "managed",
|
|
|
|
"type": "test_instance",
|
|
|
|
"previous_address": "test_instance.foo",
|
|
|
|
"provider_name": "registry.terraform.io/hashicorp/test",
|
|
|
|
"name": "baz",
|
|
|
|
"change": {
|
|
|
|
"actions": [
|
|
|
|
"update"
|
|
|
|
],
|
|
|
|
"before": {
|
|
|
|
"ami": "foo",
|
|
|
|
"id": "placeholder"
|
|
|
|
},
|
|
|
|
"after": {
|
|
|
|
"ami": "baz",
|
|
|
|
"id": "placeholder"
|
|
|
|
},
|
|
|
|
"after_unknown": {},
|
|
|
|
"after_sensitive": {},
|
|
|
|
"before_sensitive": {}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"prior_state": {
|
2021-09-01 17:17:13 +02:00
|
|
|
"format_version": "1.0",
|
2021-09-17 19:18:34 +02:00
|
|
|
"values": {
|
|
|
|
"root_module": {
|
|
|
|
"resources": [
|
|
|
|
{
|
|
|
|
"address": "test_instance.baz",
|
|
|
|
"mode": "managed",
|
|
|
|
"type": "test_instance",
|
|
|
|
"name": "baz",
|
|
|
|
"schema_version": 0,
|
|
|
|
"provider_name": "registry.terraform.io/hashicorp/test",
|
|
|
|
"values": {
|
|
|
|
"ami": "foo",
|
|
|
|
"id": "placeholder"
|
|
|
|
},
|
|
|
|
"sensitive_values": {}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"configuration": {
|
2022-02-18 17:15:58 +01:00
|
|
|
"provider_config": {
|
|
|
|
"test": {
|
|
|
|
"name": "test",
|
|
|
|
"full_name": "registry.terraform.io/hashicorp/test"
|
|
|
|
}
|
|
|
|
},
|
2021-09-17 19:18:34 +02:00
|
|
|
"root_module": {
|
|
|
|
"resources": [
|
|
|
|
{
|
|
|
|
"address": "test_instance.baz",
|
|
|
|
"mode": "managed",
|
|
|
|
"type": "test_instance",
|
|
|
|
"name": "baz",
|
|
|
|
"provider_config_key": "test",
|
|
|
|
"schema_version": 0,
|
|
|
|
"expressions": {
|
|
|
|
"ami": {
|
|
|
|
"constant_value": "baz"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|