When running a TF plan, and there is an error, the output only shows exit status 1, instead of the full TF error output.
Steps to reproduce:
create a template that references a variable that is not defined
run the plan command
Actual Output
$ colonize plan -e dev
Removing .terraform directory...
Building combined terraform variable assignment files...
Building combined variable files...
Building combined terraform files...
[]
Building combined derived files...
Building remote config script...
Fetching terraform modules...
Running remote setup
Disabling remote
Executing terraform plan
Plan failed to run: exit status 1
Desired Output
$ colonize plan -e dev
Removing .terraform directory...
Building combined terraform variable assignment files...
Building combined variable files...
Building combined terraform files...
[]
Building combined derived files...
Building remote config script...
Fetching terraform modules...
Running remote setup
Disabling remote
Executing terraform plan
module root: 1 error(s) occurred:
* module 'instance': unknown variable referenced: 'domain'. define it with 'variable' blocks
Plan failed to run: exit status 1
When running a TF plan, and there is an error, the output only shows
exit status 1
, instead of the full TF error output.Steps to reproduce:
plan
commandActual Output
Desired Output