2019-06-03 17:19:03 +02:00
|
|
|
{
|
2021-09-01 17:17:13 +02:00
|
|
|
"format_version": "1.0",
|
2019-07-17 03:25:30 +02:00
|
|
|
"planned_values": {
|
2019-10-17 17:33:04 +02:00
|
|
|
"root_module": {
|
|
|
|
"child_modules": [
|
|
|
|
{
|
|
|
|
"address": "module.my_module",
|
|
|
|
"child_modules": [
|
|
|
|
{
|
|
|
|
"resources": [
|
|
|
|
{
|
|
|
|
"address": "module.my_module.module.more.test_instance.test",
|
|
|
|
"mode": "managed",
|
|
|
|
"type": "test_instance",
|
|
|
|
"name": "test",
|
2020-04-02 18:58:44 +02:00
|
|
|
"provider_name": "registry.terraform.io/hashicorp/test",
|
2019-10-17 17:33:04 +02:00
|
|
|
"schema_version": 0,
|
|
|
|
"values": {
|
|
|
|
"ami": "bar-var"
|
2021-06-14 15:19:13 +02:00
|
|
|
},
|
|
|
|
"sensitive_values": {}
|
2019-10-17 17:33:04 +02:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"address": "module.my_module.module.more"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
2019-07-17 03:25:30 +02:00
|
|
|
},
|
2019-10-17 17:33:04 +02:00
|
|
|
"resource_changes": [
|
|
|
|
{
|
|
|
|
"address": "module.my_module.module.more.test_instance.test",
|
|
|
|
"module_address": "module.my_module.module.more",
|
|
|
|
"mode": "managed",
|
|
|
|
"type": "test_instance",
|
|
|
|
"name": "test",
|
2020-04-02 18:58:44 +02:00
|
|
|
"provider_name": "registry.terraform.io/hashicorp/test",
|
2019-10-17 17:33:04 +02:00
|
|
|
"change": {
|
|
|
|
"actions": [
|
|
|
|
"create"
|
|
|
|
],
|
|
|
|
"before": null,
|
|
|
|
"after": {
|
|
|
|
"ami": "bar-var"
|
|
|
|
},
|
|
|
|
"after_unknown": {
|
|
|
|
"id": true
|
2021-03-25 16:41:49 +01:00
|
|
|
},
|
|
|
|
"after_sensitive": {},
|
|
|
|
"before_sensitive": false
|
2019-10-17 17:33:04 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
2019-07-17 03:25:30 +02:00
|
|
|
"configuration": {
|
|
|
|
"root_module": {
|
|
|
|
"module_calls": {
|
|
|
|
"my_module": {
|
|
|
|
"source": "./modules",
|
|
|
|
"module": {
|
2019-06-03 17:19:03 +02:00
|
|
|
"module_calls": {
|
2019-07-17 03:25:30 +02:00
|
|
|
"more": {
|
2019-10-17 17:33:04 +02:00
|
|
|
"source": "./more-modules",
|
2019-07-17 03:25:30 +02:00
|
|
|
"module": {
|
2019-10-17 17:33:04 +02:00
|
|
|
"resources": [
|
|
|
|
{
|
|
|
|
"address": "test_instance.test",
|
|
|
|
"mode": "managed",
|
|
|
|
"type": "test_instance",
|
|
|
|
"name": "test",
|
2021-12-10 18:48:32 +01:00
|
|
|
"provider_config_key": "module.my_module.module.more:test",
|
2019-10-17 17:33:04 +02:00
|
|
|
"expressions": {
|
|
|
|
"ami": {
|
|
|
|
"references": [
|
|
|
|
"var.test_var"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"schema_version": 0
|
|
|
|
}
|
|
|
|
],
|
2019-07-17 03:25:30 +02:00
|
|
|
"variables": {
|
2019-10-17 17:33:04 +02:00
|
|
|
"test_var": {
|
|
|
|
"default": "bar-var"
|
2019-06-03 17:19:03 +02:00
|
|
|
}
|
2019-07-17 03:25:30 +02:00
|
|
|
}
|
2019-10-17 17:33:04 +02:00
|
|
|
}
|
2019-07-17 03:25:30 +02:00
|
|
|
}
|
2019-06-03 17:19:03 +02:00
|
|
|
}
|
2019-07-17 03:25:30 +02:00
|
|
|
}
|
2019-06-03 17:19:03 +02:00
|
|
|
}
|
2019-07-17 03:25:30 +02:00
|
|
|
}
|
2019-06-03 17:19:03 +02:00
|
|
|
}
|
2019-07-17 03:25:30 +02:00
|
|
|
}
|
2020-04-02 18:58:44 +02:00
|
|
|
}
|