Run Consul-Terraform-Sync
Create the config.hcl file, all the options are available here.
Check status of tasks. Replace port number if configured in Step 2. See additional API endpoints
To learn more on these options check the Consul-Terraform-Sync Run Modes and Status Inspection tutorial.