This module for Consul Terraform Sync creates a listener rule to be added to
an application load balancer. The listener rules offer a way to
change weights between blue and green instances of application.
The module register targets by IP address to account for multi-region
load balancing.
Note: The module currently parses the DNS name of the node from Consul to
register the primary IP address with the target group.
This is because instances can have multiple IP addresses on different interfaces.
Unless you bind Consul clients to the primary interface or the IP addresses
on other interfaces are routable, you might have some connectivity issues.
This is particularly the case with EKS.
Consul services monitored by Consul-Terraform-Sync
map( object({ id = string name = string kind = string address = string port = number meta = map(string) tags = list(string) namespace = string status = string