context
Running terravision visualise or terraform plan with --source to a terraform project which has some TF_VAR_varname=... undefined (one or more) indefinetely halts as such:
_____ _ _
/__ \___ _ __ _ __ __ ___ _(_)___(_) ___ _ __
/ /\/ _ \ '__| '__/ _` \ \ / / / __| |/ _ \| '_ \
/ / | __/ | | | | (_| |\ V /| \__ \ | (_) | | | |
\/ \___|_| |_| \__,_| \_/ |_|___/_|\___/|_| |_|
Preflight check..
dot command detected: /usr/bin/dot
gvpr command detected: /usr/bin/gvpr
git command detected: /usr/bin/git
terraform command detected: /usr/bin/terraform
terraform version detected: Terraform v1.14.8
Calling Terraform..
Forcing temporary local backend to generate full infrastructure plan
Initalising workspace: default
Generating Terraform Plan..
There is no error or timeout of any sort, just stuck in this purgatory.
But if all TF_VAR_varname (tf variables) are defined, then it works fine.
probable solution: there should be either (1) a input to ask for undefined variables like how terraform plan does or (2) simply just throw the process and ask these to be defined in env variables list.
context
Running
terravision visualiseorterraform planwith --source to a terraform project which has some TF_VAR_varname=... undefined (one or more) indefinetely halts as such:There is no error or timeout of any sort, just stuck in this purgatory.
But if all
TF_VAR_varname(tf variables) are defined, then it works fine.probable solution: there should be either (1) a input to ask for undefined variables like how
terraform plandoes or (2) simply just throw the process and ask these to be defined in env variables list.