versionedTerraform/README.md
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

26 lines
733 B
Markdown

# 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<br>
`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`<br><br>
`StableOnly` boolean values: <b>true</b>/false<br>
This value is used to restrict terraform to release versions only defaults to true
## Known Issues