|
||
---|---|---|
.circleci | ||
cmd | ||
.gitignore | ||
configManagement_test.go | ||
configManagement.go | ||
darwin_amd64.go | ||
darwin_arm_64.go | ||
fileHandler_test.go | ||
fileHandler.go | ||
freebsd_386.go | ||
freebsd_amd_64.go | ||
freebsd_arm.go | ||
go.mod | ||
go.sum | ||
linux_386.go | ||
linux_amd_64.go | ||
linux_arm64.go | ||
linux_arm.go | ||
Makefile | ||
openbsd_386.go | ||
openbsd_amd64.go | ||
README.md | ||
SemVersion_test.go | ||
SemVersion.go | ||
solaris_amd64.go | ||
versionedTerraform_test.go | ||
versionedTerraform.go | ||
windows_386.go | ||
windows_amd64.go |
Versioned Terraform
A wrapper for terraform to detect the expected version of terraform, download, and execute that version
Requirements
- go
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