Skip to main content
Version: 6.4.0

SmoothGlue supports provisioning Application Load Balancers (ALB) for distributing incoming traffic.

Enabling and Configuring the ALB Terragrunt Module

The ALB module is disabled by default. The ALB module can be configured to replace the default Network Load Balancer (NLB). The following is an example configuration that can be used to update the env.hcl file:

locals {

# Disable the default NLB
cluster_inputs = {
application_nlb_enable = false
}

# Enable the optional ALB module
modules = {
alb = true
}

# Configure the ALB module
alb = {
# disables the default http to https redirect listener
# disable_http_redirect = true

# supply an ACM cert to enable the default HTTPS listener
# Required for the default HTTPS listener
# https_acm_certificate_arn = "arn:aws:acm:us-east-2:123456789abc:certificate/01234567-89ab-cdef-0123-4567890abcde"

# supply an allowed ingress CIDR to override the default (0.0.0.0/0)
# allowed_ingress_cidr = "10.1.2.0/24"

# Add any configs that are applicable here:
# https://github.com/terraform-aws-modules/terraform-aws-alb

}

}