2021-02-05 20:01:58 +01:00
|
|
|
{
|
2021-09-01 17:17:13 +02:00
|
|
|
"format_version": "1.0",
|
2021-02-05 20:01:58 +01:00
|
|
|
"variables": {
|
|
|
|
"test_var": {
|
|
|
|
"value": "bar"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"planned_values": {
|
|
|
|
"outputs": {
|
|
|
|
"test": {
|
|
|
|
"sensitive": false,
|
|
|
|
"value": "bar"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"root_module": {
|
|
|
|
"resources": [
|
|
|
|
{
|
|
|
|
"address": "test_instance.test[0]",
|
|
|
|
"index": 0,
|
|
|
|
"mode": "managed",
|
|
|
|
"type": "test_instance",
|
|
|
|
"name": "test",
|
|
|
|
"provider_name": "registry.terraform.io/hashicorp/test",
|
|
|
|
"schema_version": 0,
|
|
|
|
"values": {
|
|
|
|
"ami": "bar"
|
2021-06-14 15:19:13 +02:00
|
|
|
},
|
|
|
|
"sensitive_values": {}
|
2021-02-05 20:01:58 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"address": "test_instance.test[1]",
|
|
|
|
"index": 1,
|
|
|
|
"mode": "managed",
|
|
|
|
"type": "test_instance",
|
|
|
|
"name": "test",
|
|
|
|
"provider_name": "registry.terraform.io/hashicorp/test",
|
|
|
|
"schema_version": 0,
|
|
|
|
"values": {
|
|
|
|
"ami": "bar"
|
2021-06-14 15:19:13 +02:00
|
|
|
},
|
|
|
|
"sensitive_values": {}
|
2021-02-05 20:01:58 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"address": "test_instance.test[2]",
|
|
|
|
"index": 2,
|
|
|
|
"mode": "managed",
|
|
|
|
"type": "test_instance",
|
|
|
|
"name": "test",
|
|
|
|
"provider_name": "registry.terraform.io/hashicorp/test",
|
|
|
|
"schema_version": 0,
|
|
|
|
"values": {
|
|
|
|
"ami": "bar"
|
2021-06-14 15:19:13 +02:00
|
|
|
},
|
|
|
|
"sensitive_values": {}
|
2021-02-05 20:01:58 +01:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"prior_state": {
|
2021-09-01 17:17:13 +02:00
|
|
|
"format_version": "1.0",
|
2021-02-05 20:01:58 +01:00
|
|
|
"values": {
|
|
|
|
"outputs": {
|
|
|
|
"test": {
|
|
|
|
"sensitive": false,
|
|
|
|
"value": "bar"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"root_module": {}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"resource_changes": [
|
|
|
|
{
|
|
|
|
"address": "test_instance.test[0]",
|
|
|
|
"index": 0,
|
|
|
|
"mode": "managed",
|
|
|
|
"type": "test_instance",
|
|
|
|
"provider_name": "registry.terraform.io/hashicorp/test",
|
|
|
|
"name": "test",
|
|
|
|
"change": {
|
|
|
|
"actions": [
|
|
|
|
"create"
|
|
|
|
],
|
|
|
|
"before": null,
|
|
|
|
"after_unknown": {
|
|
|
|
"id": true
|
|
|
|
},
|
|
|
|
"after": {
|
|
|
|
"ami": "bar"
|
2021-03-25 16:41:49 +01:00
|
|
|
},
|
|
|
|
"after_sensitive": {},
|
|
|
|
"before_sensitive": false
|
2021-02-05 20:01:58 +01:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"address": "test_instance.test[1]",
|
|
|
|
"index": 1,
|
|
|
|
"mode": "managed",
|
|
|
|
"type": "test_instance",
|
|
|
|
"provider_name": "registry.terraform.io/hashicorp/test",
|
|
|
|
"name": "test",
|
|
|
|
"change": {
|
|
|
|
"actions": [
|
|
|
|
"create"
|
|
|
|
],
|
|
|
|
"before": null,
|
|
|
|
"after_unknown": {
|
|
|
|
"id": true
|
|
|
|
},
|
|
|
|
"after": {
|
|
|
|
"ami": "bar"
|
2021-03-25 16:41:49 +01:00
|
|
|
},
|
|
|
|
"after_sensitive": {},
|
|
|
|
"before_sensitive": false
|
2021-02-05 20:01:58 +01:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"address": "test_instance.test[2]",
|
|
|
|
"index": 2,
|
|
|
|
"mode": "managed",
|
|
|
|
"type": "test_instance",
|
|
|
|
"provider_name": "registry.terraform.io/hashicorp/test",
|
|
|
|
"name": "test",
|
|
|
|
"change": {
|
|
|
|
"actions": [
|
|
|
|
"create"
|
|
|
|
],
|
|
|
|
"before": null,
|
|
|
|
"after_unknown": {
|
|
|
|
"id": true
|
|
|
|
},
|
|
|
|
"after": {
|
|
|
|
"ami": "bar"
|
2021-03-25 16:41:49 +01:00
|
|
|
},
|
|
|
|
"after_sensitive": {},
|
|
|
|
"before_sensitive": false
|
2021-02-05 20:01:58 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"output_changes": {
|
|
|
|
"test": {
|
|
|
|
"actions": [
|
|
|
|
"create"
|
|
|
|
],
|
|
|
|
"before": null,
|
|
|
|
"after": "bar",
|
2021-03-27 00:21:40 +01:00
|
|
|
"after_unknown": false,
|
|
|
|
"before_sensitive": false,
|
|
|
|
"after_sensitive": false
|
2021-02-05 20:01:58 +01:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"configuration": {
|
|
|
|
"provider_config": {
|
|
|
|
"test": {
|
|
|
|
"name": "test",
|
2021-12-10 18:48:32 +01:00
|
|
|
"full_name": "registry.terraform.io/hashicorp/test",
|
2021-02-05 20:01:58 +01:00
|
|
|
"expressions": {
|
|
|
|
"region": {
|
|
|
|
"constant_value": "somewhere"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"version_constraint": ">= 1.2.3, 1.2.3"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"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",
|
|
|
|
"schema_version": 0,
|
|
|
|
"expressions": {
|
|
|
|
"ami": {
|
|
|
|
"references": [
|
|
|
|
"var.test_var"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"count_expression": {
|
|
|
|
"constant_value": 3
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"variables": {
|
|
|
|
"test_var": {
|
|
|
|
"default": "bar"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|