2020-03-05 14:13:45 +01:00
|
|
|
{
|
2021-09-01 17:17:13 +02:00
|
|
|
"format_version": "1.0",
|
2020-03-05 14:13:45 +01:00
|
|
|
"terraform_version": "0.13.0",
|
|
|
|
"variables": {
|
|
|
|
"test_var": {
|
|
|
|
"value": "bar"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"planned_values": {
|
|
|
|
"outputs": {
|
|
|
|
"test": {
|
|
|
|
"sensitive": false,
|
|
|
|
"value": "bar"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"root_module": {
|
|
|
|
"resources": [
|
|
|
|
{
|
|
|
|
"address": "test_instance.test[0]",
|
|
|
|
"mode": "managed",
|
|
|
|
"type": "test_instance",
|
|
|
|
"name": "test",
|
|
|
|
"index": 0,
|
2020-04-02 18:58:44 +02:00
|
|
|
"provider_name": "registry.terraform.io/hashicorp/test",
|
2020-03-05 14:13:45 +01:00
|
|
|
"schema_version": 0,
|
|
|
|
"values": {
|
|
|
|
"ami": "bar",
|
|
|
|
"id": "placeholder"
|
2021-06-14 15:19:13 +02:00
|
|
|
},
|
|
|
|
"sensitive_values": {}
|
2020-03-05 14:13:45 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"address": "test_instance.test[1]",
|
|
|
|
"mode": "managed",
|
|
|
|
"type": "test_instance",
|
|
|
|
"name": "test",
|
|
|
|
"index": 1,
|
2020-04-02 18:58:44 +02:00
|
|
|
"provider_name": "registry.terraform.io/hashicorp/test",
|
2020-03-05 14:13:45 +01:00
|
|
|
"schema_version": 0,
|
|
|
|
"values": {
|
|
|
|
"ami": "bar"
|
2021-06-14 15:19:13 +02:00
|
|
|
},
|
|
|
|
"sensitive_values": {}
|
2020-03-05 14:13:45 +01:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"resource_changes": [
|
|
|
|
{
|
|
|
|
"address": "test_instance.test[0]",
|
|
|
|
"mode": "managed",
|
|
|
|
"type": "test_instance",
|
|
|
|
"name": "test",
|
|
|
|
"index": 0,
|
2021-09-17 19:18:34 +02:00
|
|
|
"previous_address": "test_instance.test",
|
2020-04-02 18:58:44 +02:00
|
|
|
"provider_name": "registry.terraform.io/hashicorp/test",
|
2020-03-05 14:13:45 +01:00
|
|
|
"change": {
|
|
|
|
"actions": [
|
|
|
|
"no-op"
|
|
|
|
],
|
|
|
|
"before": {
|
|
|
|
"ami": "bar",
|
|
|
|
"id": "placeholder"
|
|
|
|
},
|
|
|
|
"after": {
|
|
|
|
"ami": "bar",
|
|
|
|
"id": "placeholder"
|
|
|
|
},
|
2021-03-25 16:41:49 +01:00
|
|
|
"after_unknown": {},
|
|
|
|
"after_sensitive": {},
|
|
|
|
"before_sensitive": {}
|
2020-03-05 14:13:45 +01:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"address": "test_instance.test[1]",
|
|
|
|
"mode": "managed",
|
|
|
|
"type": "test_instance",
|
|
|
|
"name": "test",
|
|
|
|
"index": 1,
|
2020-04-02 18:58:44 +02:00
|
|
|
"provider_name": "registry.terraform.io/hashicorp/test",
|
2020-03-05 14:13:45 +01:00
|
|
|
"change": {
|
|
|
|
"actions": [
|
|
|
|
"create"
|
|
|
|
],
|
|
|
|
"before": null,
|
|
|
|
"after": {
|
|
|
|
"ami": "bar"
|
|
|
|
},
|
|
|
|
"after_unknown": {
|
|
|
|
"id": true
|
2021-03-25 16:41:49 +01:00
|
|
|
},
|
|
|
|
"after_sensitive": {},
|
|
|
|
"before_sensitive": false
|
2020-03-05 14:13:45 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"output_changes": {
|
|
|
|
"test": {
|
|
|
|
"actions": [
|
2020-10-10 01:45:31 +02:00
|
|
|
"no-op"
|
2020-03-05 14:13:45 +01:00
|
|
|
],
|
2020-10-10 01:45:31 +02:00
|
|
|
"before": "bar",
|
2020-03-05 14:13:45 +01:00
|
|
|
"after": "bar",
|
2021-03-27 00:21:40 +01:00
|
|
|
"after_unknown": false,
|
|
|
|
"before_sensitive": false,
|
|
|
|
"after_sensitive": false
|
2020-03-05 14:13:45 +01:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"prior_state": {
|
2021-09-01 17:17:13 +02:00
|
|
|
"format_version": "1.0",
|
2020-03-05 14:13:45 +01:00
|
|
|
"terraform_version": "0.13.0",
|
|
|
|
"values": {
|
2020-09-21 20:39:25 +02:00
|
|
|
"outputs": {
|
|
|
|
"test": {
|
|
|
|
"sensitive": false,
|
|
|
|
"value": "bar"
|
|
|
|
}
|
|
|
|
},
|
2020-03-05 14:13:45 +01:00
|
|
|
"root_module": {
|
|
|
|
"resources": [
|
|
|
|
{
|
|
|
|
"address": "test_instance.test[0]",
|
|
|
|
"mode": "managed",
|
|
|
|
"type": "test_instance",
|
|
|
|
"name": "test",
|
2020-09-21 20:39:25 +02:00
|
|
|
"index": 0,
|
2020-04-02 18:58:44 +02:00
|
|
|
"provider_name": "registry.terraform.io/hashicorp/test",
|
2020-03-05 14:13:45 +01:00
|
|
|
"schema_version": 0,
|
|
|
|
"values": {
|
|
|
|
"ami": "bar",
|
|
|
|
"id": "placeholder"
|
2021-06-14 15:19:13 +02:00
|
|
|
},
|
|
|
|
"sensitive_values": {}
|
2020-03-05 14:13:45 +01:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"configuration": {
|
2022-02-18 17:15:58 +01:00
|
|
|
"provider_config": {
|
|
|
|
"test": {
|
|
|
|
"name": "test",
|
|
|
|
"full_name": "registry.terraform.io/hashicorp/test"
|
|
|
|
}
|
|
|
|
},
|
2020-03-05 14:13:45 +01:00
|
|
|
"root_module": {
|
|
|
|
"outputs": {
|
|
|
|
"test": {
|
|
|
|
"expression": {
|
|
|
|
"references": [
|
|
|
|
"var.test_var"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"resources": [
|
|
|
|
{
|
|
|
|
"address": "test_instance.test",
|
|
|
|
"mode": "managed",
|
|
|
|
"type": "test_instance",
|
|
|
|
"name": "test",
|
|
|
|
"provider_config_key": "test",
|
|
|
|
"expressions": {
|
|
|
|
"ami": {
|
|
|
|
"references": [
|
|
|
|
"var.test_var"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"schema_version": 0,
|
|
|
|
"count_expression": {
|
|
|
|
"constant_value": 2
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"variables": {
|
|
|
|
"test_var": {
|
|
|
|
"default": "bar"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|