Closed nitrocode closed 3 years ago
when I run this
tfenv install latest:^0.14 tfenv use latest:^0.14 terraform version
I'm using the latest terraform version but I'd also like to pin down this version to a file using a command like this
tfenv pin
tfenv pin > .terraform-version
At the moment, I use this in an alias
alias tfenv-pin="tfenv list | grep '^*' | cut -d' ' -f2 > .terraform-version && cat .terraform-version"
when I run this
I'm using the latest terraform version but I'd also like to pin down this version to a file using a command like this
tfenv pin
or perhapstfenv pin > .terraform-version
At the moment, I use this in an alias