cts
hashicorp-dev-advocates/cts/boundary
This module creates a Boundary host, host set, host catalog and target for each service registered in Consul.
Boundary module for Consul Terraform Sync This module creates a Boundary host, host set, host catalog and target for each service registered in Consul. The module is designed to be used by Consul Terraform Sync to keep host and target connectivity details up-to-date with the Consul service mesh as the source of truth. Example Consul Terraform Sync file using this module ``hcl log_level = "INFO" working_dir = "." port = 8558 syslog {} buffer_period { enabled = true min = "5s" max = "20s" } consul { address = "localhost:8500" } driver "terraform" { log = false persist_log = false backend "consul" { gzip = true } } task { name = "cts-boundary-example" description = "Example task with two services being monitored" module = "/Users/robertbarnes/Documents/github.com/hashicorp-dev-advocates/terra
| Name | Type | Description | Default |
|---|---|---|---|
| project_scope_id | string | Scope ID for Boundary project | required |
| service_name | string | Name of Consul Service to register as a host and target in Boundary. | required |
| service_address | string | IP address or DNS name for Consul service to register as a host in Boundary. | required |
| service_port | number | Port of Consul service to register as a target in Boundary. | required |