Variable code_checkout_path is the full path to deploy-directory directory.
Variable foundation_code_path is the full path to terraform-example-foundation directory.
Build the helper:
go build
Validate the tfvars file:
./deployer -tfvars_file <PATH TO 'global.tfvars' FILE> -validate
Supported flags
-tfvars_file file
Full path to the Terraform .tfvars file with the configuration to be used.
-steps_file file
Path to the steps file to be used to save progress. (default ".steps.json")
-list_steps
List the existing steps.
-reset_step step
Name of a step to be reset.
-validate
Validate tfvars file inputs
-quiet
If true, additional output is suppressed.
-disable_prompt
Disable interactive prompt.
-destroy
Destroy the deployment.
-help
Prints this help text and exits.