2020-03-05 14:13:45 +01:00
|
|
|
{
|
|
|
|
"format_version": "0.1",
|
|
|
|
"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"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"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"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"resource_changes": [
|
|
|
|
{
|
|
|
|
"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
|
|
|
"change": {
|
|
|
|
"actions": [
|
|
|
|
"no-op"
|
|
|
|
],
|
|
|
|
"before": {
|
|
|
|
"ami": "bar",
|
|
|
|
"id": "placeholder"
|
|
|
|
},
|
|
|
|
"after": {
|
|
|
|
"ami": "bar",
|
|
|
|
"id": "placeholder"
|
|
|
|
},
|
|
|
|
"after_unknown": {}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"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
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"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",
|
|
|
|
"after_unknown": false
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"prior_state": {
|
|
|
|
"format_version": "0.1",
|
|
|
|
"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"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"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": "test",
|
|
|
|
"expressions": {
|
|
|
|
"ami": {
|
|
|
|
"references": [
|
|
|
|
"var.test_var"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"schema_version": 0,
|
|
|
|
"count_expression": {
|
|
|
|
"constant_value": 2
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"variables": {
|
|
|
|
"test_var": {
|
|
|
|
"default": "bar"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|