Go to file
mitch 98493c8d52 Added support for default terraform version
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
2022-06-15 22:52:19 -04:00
cmd Added support for default terraform version 2022-06-15 22:52:19 -04:00
.gitignore Initial commit 2022-02-23 13:15:12 -05:00
configManagement_test.go Added support for default terraform version 2022-06-15 22:52:19 -04:00
configManagement.go Added support for default terraform version 2022-06-15 22:52:19 -04:00
darwin_amd64.go Removed hard coded amd_64 2022-03-09 20:09:31 -05:00
darwin_arm_64.go Removed hard coded amd_64 2022-03-09 20:09:31 -05:00
fileHandler_test.go Added support for default terraform version 2022-06-15 22:52:19 -04:00
fileHandler.go Added support for default terraform version 2022-06-15 22:52:19 -04:00
freebsd_386.go Removed hard coded amd_64 2022-03-09 20:09:31 -05:00
freebsd_amd_64.go Removed hard coded amd_64 2022-03-09 20:09:31 -05:00
freebsd_arm.go Removed hard coded amd_64 2022-03-09 20:09:31 -05:00
go.mod Initial commit 2022-02-23 13:15:12 -05:00
go.sum Initial commit 2022-02-23 13:15:12 -05:00
linux_386.go Removed hard coded amd_64 2022-03-09 20:09:31 -05:00
linux_amd_64.go Removed hard coded amd_64 2022-03-09 20:09:31 -05:00
linux_arm64.go Removed hard coded amd_64 2022-03-09 20:09:31 -05:00
linux_arm.go Removed hard coded amd_64 2022-03-09 20:09:31 -05:00
Makefile Initial commit 2022-02-23 13:15:12 -05:00
openbsd_386.go Removed hard coded amd_64 2022-03-09 20:09:31 -05:00
openbsd_amd64.go Removed hard coded amd_64 2022-03-09 20:09:31 -05:00
README.md Added support for default terraform version 2022-06-15 22:52:19 -04:00
SemVersion.go Added support for default terraform version 2022-06-15 22:52:19 -04:00
solaris_amd64.go Removed hard coded amd_64 2022-03-09 20:09:31 -05:00
versionedTerraform_test.go Added support for default terraform version 2022-06-15 22:52:19 -04:00
versionedTerraform.go Added support for default terraform version 2022-06-15 22:52:19 -04:00
windows_386.go Removed hard coded amd_64 2022-03-09 20:09:31 -05:00
windows_amd64.go Removed hard coded amd_64 2022-03-09 20:09:31 -05:00

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

Known Issues