Github Action to setup tfvm
tfvm is a terraform version manager that installs the right terraform version configured in your project on demand. tfvm looks like the original terraform bin and can be called in the same way as terraform can be called.
For more information, please visit tfvm - Terraform Version Manager.
This github action can be considered as an alternative to setup-terraform that requires the terraform version number to be configured redundantly in the workflow file.
setup-tfvm runs on Linux, MacOS and Windows.
steps:
- name: setup tfvm
uses: cbuschka/setup-tfvm@v1
- name: run terraform
run: terraform init && terraform apply --auto-approve
Copyright (c) 2020 by Cornelius Buschka.