- In order to build this, download the binary release for Go for your operating system, install it, and make it available on your environment's PATH.
- Open a terminal and go to the directory where the repository is located.
- Ensure build.sh is executable. Run:
- chmod a+x build.sh
- Update the GOPATH environment variable in vars.sh
- Run the build.sh script, which generates the CreateConfig and Upgrade executables.
- Run CreateConfig like so:
- CreateConfig template-filename terraform-output-json-filename outputfilename, eg, CreateConfig ~/template.json ~/terraformoutput.json ~/Upgrade.json
- Run Upgrade with any necessary parameters, like so:
- Upgrade -debug-log ~/Upgrade-debug.log -json ~/Upgrade.json