2021-04-26 22:26:47 +02:00
|
|
|
{
|
2021-09-09 17:25:35 +02:00
|
|
|
"format_version": "0.2",
|
2021-04-26 22:26:47 +02:00
|
|
|
"variables": {
|
|
|
|
"test_var": {
|
|
|
|
"value": "bar"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"planned_values": {
|
|
|
|
"outputs": {
|
|
|
|
"test": {
|
|
|
|
"sensitive": true,
|
|
|
|
"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",
|
|
|
|
"password": "secret"
|
2021-06-14 15:19:13 +02:00
|
|
|
},
|
|
|
|
"sensitive_values": {
|
|
|
|
"ami": true
|
2021-04-26 22:26:47 +02: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",
|
|
|
|
"password": "secret"
|
2021-06-14 15:19:13 +02:00
|
|
|
},
|
|
|
|
"sensitive_values": {
|
|
|
|
"ami": true
|
2021-04-26 22:26:47 +02: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",
|
|
|
|
"password": "secret"
|
2021-06-14 15:19:13 +02:00
|
|
|
},
|
|
|
|
"sensitive_values": {
|
|
|
|
"ami": true
|
2021-04-26 22:26:47 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"prior_state": {
|
2021-09-09 17:25:35 +02:00
|
|
|
"format_version": "0.2",
|
2021-04-26 22:26:47 +02:00
|
|
|
"values": {
|
|
|
|
"outputs": {
|
|
|
|
"test": {
|
|
|
|
"sensitive": true,
|
|
|
|
"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",
|
|
|
|
"password": "secret"
|
|
|
|
},
|
|
|
|
"after_sensitive": {"ami": true, "password": true},
|
|
|
|
"before_sensitive": false
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"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",
|
|
|
|
"password": "secret"
|
|
|
|
},
|
|
|
|
"after_sensitive": {"ami": true, "password": true},
|
|
|
|
"before_sensitive": false
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"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",
|
|
|
|
"password": "secret"
|
|
|
|
},
|
|
|
|
"after_sensitive": {"ami": true, "password": true},
|
|
|
|
"before_sensitive": false
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"output_changes": {
|
|
|
|
"test": {
|
|
|
|
"actions": [
|
|
|
|
"create"
|
|
|
|
],
|
|
|
|
"before": null,
|
|
|
|
"after": "bar",
|
|
|
|
"after_unknown": false,
|
|
|
|
"before_sensitive": true,
|
|
|
|
"after_sensitive": true
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"configuration": {
|
|
|
|
"provider_config": {
|
|
|
|
"test": {
|
|
|
|
"name": "test",
|
|
|
|
"expressions": {
|
|
|
|
"region": {
|
|
|
|
"constant_value": "somewhere"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"root_module": {
|
|
|
|
"outputs": {
|
|
|
|
"test": {
|
|
|
|
"expression": {
|
|
|
|
"references": [
|
|
|
|
"var.test_var"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"sensitive": true
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"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"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"password": {"constant_value": "secret"}
|
|
|
|
},
|
|
|
|
"count_expression": {
|
|
|
|
"constant_value": 3
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"variables": {
|
|
|
|
"test_var": {
|
|
|
|
"default": "bar",
|
|
|
|
"sensitive": true
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|