»Run Consul-Terraform-Sync

  1. Move the consul-terraform-sync binary to a location available on your PATH.
$ mv ~/Downloads/consul-terraform-sync /usr/local/bin/consul-terraform-sync
  1. Create the config.hcl file, all the options are available here.

  2. Run consul-terraform-sync.

$ consul-terraform-sync -config-file <config.hcl>
  1. Check status of tasks. Replace port number if configured in Step 2. See additional API endpoints here
$ curl localhost:8558/status/tasks