A terraform module for Quortex infrastructure Azure load balancing layer.
It provides a set of resources necessary to provision the Quortex infrastructure load balancers, DNS and ssl certificates on Microsoft Azure.
This module is available on Terraform Registry.
Get all our terraform modules on Terraform Registry or on Github !
This module creates the following resources on Azure:
- an Application Gateway for public traffic (live)
- an Application Gateway for internal traffic (administration)
- a list of DNS records
It also give the possibility to create some SSL certificates with Let's Encrypt.
module "load-balancer" {
source = "quortex/load-balancer/azurerm"
# Globally used variables.
subscription_id = local.subscription_id
tenant_id = local.tenant_id
location = local.resource_group_location
resource_group_name = local.resource_group_name
virtual_network = module.network.virtual_network_name
name = "quortex"
# Load balancers backend configuration.
public_app_gateway_backend_ip_addresses = var.external_lb_ip
private_app_gateway_backend_ip_addresses = var.internal_lb_ip
# DNS configuration.
dns_managed_zone = "quortex.mydomain.com"
dns_records_public = {
live = "live"
}
dns_records_private = {
api = "api"
}
# A list of IP ranges to whitelist for private load balancer access.
private_app_gateway_whitelisted_ips = []
}
This project is part of our terraform modules to provision a Quortex infrastructure for Microsoft Azure.
Check out these related projects.
-
terraform-azurerm-network - A terraform module for Quortex infrastructure network layer.
-
terraform-azurerm-aks-cluster - A terraform module for Quortex infrastructure AKS cluster layer.
-
terraform-azurerm-storage - A terraform module for Quortex infrastructure Azure persistent storage layer.
Got a question?