98493c8d52
Added default behavior for > and >= to not use non-stable release versions Added configuration option of `StableOnly` which defaults to true. Setting this to false will permit the use of -alpha and -beta releases
733 B
733 B
Versioned Terraform
A wrapper for terraform to detect the expected version of terraform, download, and execute that version
Requirements
- go compiler (only tested on go1.17)
Install
make build install
for installation to local user
make build
will create an executable file for you to place where you'd like
Commands
All arguments are passed through to terraform
Sample usage
versionedTerraform version
will display the terraform version executed in a folder
Configuration
A configuration file is created in ~/.versionedTerraform
StableOnly
boolean values: true/false
This value is used to restrict terraform to release versions only defaults to true