https://github.com/cbuschka/setup-tfvm
Github Action to setup tfvm managed terraform version
https://github.com/cbuschka/setup-tfvm
github-actions terraform tfvm version version-manager
Last synced: 6 months ago
JSON representation
Github Action to setup tfvm managed terraform version
- Host: GitHub
- URL: https://github.com/cbuschka/setup-tfvm
- Owner: cbuschka
- License: apache-2.0
- Created: 2020-12-23T21:32:49.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2024-06-16T16:44:27.000Z (over 1 year ago)
- Last Synced: 2025-03-27T05:33:54.621Z (6 months ago)
- Topics: github-actions, terraform, tfvm, version, version-manager
- Language: JavaScript
- Homepage:
- Size: 781 KB
- Stars: 4
- Watchers: 2
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: readme.md
- License: license.txt
Awesome Lists containing this project
README
# setup-tfvm
[](https://github.com/cbuschka/setup-tfvm) [](https://github.com/cbuschka/setup-tfvm) [](https://github.com/cbuschka/setup-tfvm/releases) [](https://github.com/cbuschka/setup-tfvm/blob/main/license.txt)### Github Action to setup [tfvm](https://github.com/cbuschka/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](https://github.com/cbuschka/tfvm).
This github action can be considered as an alternative to [setup-terraform](https://github.com/hashicorp/setup-terraform)
that requires the terraform version number to be configured redundantly in the workflow file.setup-tfvm runs on Linux, MacOS and Windows.
## Usage
```yaml
steps:
- name: setup tfvm
uses: cbuschka/setup-tfvm@v1- name: run terraform
run: terraform init && terraform apply --auto-approve
```## License
Copyright (c) 2020 by [Cornelius Buschka](https://github.com/cbuschka).
[Apache License, Version 2.0](./license.txt)