Skip to content

Default TF_PLAN_JSON relative to TF_ROOT if set

Timo Furrer requested to merge bugfix/tf-plan-json into master

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] if TF_ROOT is being set. ($TF_ROOT is a lie here, it's actually the absolute path - see diff ;) )
  • plan.[cache|json] if TF_ROOT is not set - leading to the file being placed in the cwd.

Closes: !136 (closed)

Closes: #91 (closed)

Edited by Timo Furrer

Merge request reports