Terraform
Install tf-migrate
HashiCorp distributes tf-migrate
as an executable CLI that you can install on supported operating systems, including Microsoft Windows, macOS, and several Linux distributions.
To install tf-migrate
, find the appropriate binary for your operating system and download it as a zip archive.
After you download tf-migrate
, unzip the archive.
Finally, make sure that the tf-migrate
binary is available in a directory that is in your system's PATH
.
Every build of tf-migrate
includes a SHA256SUMS
and a SHA256SUMS.sig
file to validate your downloaded binary. Refer to the verify HashiCorp binary downloads tutorial for more information.
Verify installation
Verify that the installation worked by opening a new terminal and using the -help
flag of tf-migrate
:
$ tf-migrate -help
Welcome to the HCP Terraform Migrator for Community Edition.
Usage: tf-migrate [global options] <subcommand> [args]
The available commands for execution are listed below.
The primary workflow commands are given first,
followed by global options.
Commands:
##...