2019-06-03 17:19:03 +02:00
|
|
|
{
|
2019-07-17 03:25:30 +02:00
|
|
|
"format_version": "0.1",
|
|
|
|
"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",
|
|
|
|
"provider_name": "test",
|
|
|
|
"schema_version": 0,
|
|
|
|
"values": {
|
|
|
|
"ami": "bar-var"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"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",
|
|
|
|
"provider_name": "test",
|
|
|
|
"change": {
|
|
|
|
"actions": [
|
|
|
|
"create"
|
|
|
|
],
|
|
|
|
"before": null,
|
|
|
|
"after": {
|
|
|
|
"ami": "bar-var"
|
|
|
|
},
|
|
|
|
"after_unknown": {
|
|
|
|
"id": true
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
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",
|
|
|
|
"provider_config_key": "more:test",
|
|
|
|
"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
|
|
|
}
|
2019-10-17 17:33:04 +02:00
|
|
|
}
|