mirror of
https://github.com/opentffoundation/opentf.git
synced 2025-12-31 16:00:31 -05:00
One of the show json command tests expected no error when presented with an invalid configuration in a nested module. Modify the test created in PR #21569 so that it can still verify there is no panic, but now expect an error from init.
32 lines
675 B
JSON
32 lines
675 B
JSON
{
|
|
"format_version": "0.1",
|
|
"terraform_version": "0.12.1-dev",
|
|
"planned_values": {
|
|
"root_module": {}
|
|
},
|
|
"configuration": {
|
|
"root_module": {
|
|
"module_calls": {
|
|
"my_module": {
|
|
"source": "./modules",
|
|
"module": {
|
|
"module_calls": {
|
|
"more": {
|
|
"module": {
|
|
"variables": {
|
|
"ok": {
|
|
"default": "something",
|
|
"description": "description"
|
|
}
|
|
}
|
|
},
|
|
"source": "./more-modules"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|