-
Notifications
You must be signed in to change notification settings - Fork 455
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
min-required version cannot be found when -chdir in use #301
Labels
Comments
OJFord
added a commit
to OJFord/tfenv
that referenced
this issue
Oct 26, 2021
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 was referenced Oct 26, 2021
OJFord
added a commit
to OJFord/tfenv
that referenced
this issue
Jul 8, 2022
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`.
OJFord
added a commit
to OJFord/tfenv
that referenced
this issue
Jul 8, 2022
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`.
OJFord
added a commit
to OJFord/tfenv
that referenced
this issue
Jul 8, 2022
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`.
OJFord
added a commit
to OJFord/tfenv
that referenced
this issue
Jul 8, 2022
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`.
OJFord
added a commit
to OJFord/tfenv
that referenced
this issue
Jul 14, 2022
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`.
Zordrak
added a commit
that referenced
this issue
Jul 14, 2022
Fix #301: find min-required version through -chdir
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
tfenv's
terraform
wrapper seems not to interpret the-chdir
flag, so as a result it fails to find any configuredrequired_version
.The text was updated successfully, but these errors were encountered: