Go to file
2022-10-22 11:51:13 -04:00
.circleci Added coverage report 2022-10-22 11:51:13 -04:00
cmd Added circleci config 2022-10-22 11:34:55 -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 comments 2022-06-18 09:41:00 -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 comments 2022-06-18 09:41:00 -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 coverage report 2022-10-22 11:51:13 -04:00
SemVersion.go Added comments 2022-06-18 09:41:00 -04:00
solaris_amd64.go Removed hard coded amd_64 2022-03-09 20:09:31 -05:00
versionedTerraform_test.go Added exit code 2022-10-21 09:39:06 -04:00
versionedTerraform.go Added exit code 2022-10-21 09:39:06 -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

<ORG_NAME>

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