The aws_lb resource enables Cluster to create customized load balancers.
The following is a basic example:
resource:
  aws_lb:
    ucp:
      domain: "cluster.example.com"
      instances:
        - managers
      ports:
        - 443:443
        - 6443:6443
| Setting | Type | Default | Description | 
|---|---|---|---|
| domain | String | None | Domain in which to create a DNS records for the load balancer | 
| enable_cross_zone_load_balancing | Boolean | false | Enable Cross-Zone Load Balancing | 
| instances | List | None | List of instance group names to add to load balancer target groups | 
| internal | Boolean | false | Internal load balancer with no public IP address | 
| ports | List | None | List of listening port[/protocol]:target port[/protocol]mappings to
define how the load balancer should route traffic. If not provided,protocoldefaults totcp. | 
| type | String | “network” | Type of load balancer Options: - “application” - “network” |