This commit makes it possible to use min-required with the terraform
configuration (including the required_version spec) in a subdirectory
as terraform -chdir=subdir.
Prior to this commit, this behaviour does not work (-chdir cannot be
used with tfenv's terraform wrapper & min-required version)
because tfenv expects to find the configuration in $PWD.
This commit makes it possible to use
min-required
with the terraform configuration (including therequired_version
spec) in a subdirectory asterraform -chdir=subdir
.Prior to this commit, this behaviour does not work (
-chdir
cannot be used withtfenv
'sterraform
wrapper &min-required
version) becausetfenv
expects to find the configuration in$PWD
.Fixes #301 Fixes #273