terraform-manager

command module
v0.4.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 4, 2022 License: MIT Imports: 4 Imported by: 0

README

terraform-manager

Terraform version manager to allow for easy swapping between Terraform versions.

By default, terraform-manager will download the version of the Terraform for values of GOOS and GOARCH. In the future, this will be possible to override in config if needed.

Getting Started

Installation

Grab the newest release from the releases page - make sure to download the relevant archive for your architecture and OS.

Optionally, rename the binary as desired.

Usage

Run terraform-manager download <terraform-version> to get started - this will download the specified version of Terraform, and add it to the application config file.

Downloaded versions of Terraform are put in a sub-directory terraform under the directory containing terraform-manager itself, and the config file is created on the same level as terraform-manager.

Development

A Makefile exists to automate some tasks - currently this is only guaranteed to work on MacOS. See the comments in the Makefile itself for more detail.

Building

  • Makefile - make build/app
  • Go CLI - go build -o <exe-name>

The Makefile performs some additional steps to inject version information into the binary.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL