You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If anyone has the same problem and finds this, it's because the latest version of tfenv installable via homebrew is out of date and doesn't include this MacOS fix: #152
Original Issue
I'm installing versions of terraform with tfenv but it can't seem to find them after installing:
➜ tfenv --version
tfenv 2.0.0
➜ tfenv install 0.12.29
Terraform v0.12.29 is already installed
➜ tfenv use 0.12.29
No installed versions of terraform matched '0.12.29'
➜ TFENV_DEBUG=1 tfenv use 0.12.29
[DEBUG] Sourcing helpers from /usr/local/Cellar/tfenv/2.0.0/lib/helpers.sh
DEBUG trap set
Helpers sourced successfully
$PATH does not contain '/usr/local/Cellar/tfenv/2.0.0/libexec', prepending and exporting it now
$PATH does not contain '/usr/local/Cellar/tfenv/2.0.0/bin', prepending and exporting it now
Setting TFENV_DIR to /Users/jasontokoph/src/aws
tfenv argument is: use
Long argument provided: use
Resulting command-path: /usr/local/Cellar/tfenv/2.0.0/libexec/tfenv-use
Exec: "/usr/local/Cellar/tfenv/2.0.0/libexec/tfenv-use" "0.12.29"
TFENV_HELPERS is set, not sourcing helpers again
$PATH already contains '/usr/local/Cellar/tfenv/2.0.0/libexec', not adding it again
$PATH already contains '/usr/local/Cellar/tfenv/2.0.0/bin', not adding it again
Resolving version with: tfenv-resolve-version 0.12.29
TFENV_HELPERS is set, not sourcing helpers again
$PATH already contains '/usr/local/Cellar/tfenv/2.0.0/libexec', not adding it again
$PATH already contains '/usr/local/Cellar/tfenv/2.0.0/bin', not adding it again
Version Requested: 0.12.29
Version is explicit: 0.12.29. Regex enforces the version: ^0.12.29$
Searching /usr/local/Cellar/tfenv/2.0.0/versions for latest version matching ^0.12.29$
No installed versions of terraform matched '0.12.29'
➜ ll /usr/local/Cellar/tfenv/2.0.0/versions/0.12.29/
total 137120
drwxr-xr-x 3 jasontokoph admin 96 Dec 8 10:55 .
drwxr-xr-x 3 jasontokoph admin 96 Dec 8 10:55 ..
-rwxr-xr-x 1 jasontokoph admin 70201712 Jul 22 08:46 terraform
The text was updated successfully, but these errors were encountered:
Update
If anyone has the same problem and finds this, it's because the latest version of tfenv installable via homebrew is out of date and doesn't include this MacOS fix: #152
The solution for me was to follow the manual install procedure in the readme: https://github.com/tfutils/tfenv#manual
Original Issue
I'm installing versions of terraform with tfenv but it can't seem to find them after installing:
The text was updated successfully, but these errors were encountered: