Default TF_PLAN_JSON relative to TF_ROOT if set
This change set is a follow up of !136 (closed) and addresses the shortcomings there.
The current implementation sets TF_PLAN_[CACHE|JSON]
if they are not set explicitly to either:
-
$TF_ROOT/plan.[cache|json]
ifTF_ROOT
is being set. ($TF_ROOT
is a lie here, it's actually the absolute path - see diff ;) ) -
plan.[cache|json]
ifTF_ROOT
is not set - leading to the file being placed in the cwd.
Closes: !136 (closed)
Closes: #91 (closed)
Edited by Timo Furrer