Skip to content

A terraform module for Quortex infrastructure Azure load balancing layer.

License

Notifications You must be signed in to change notification settings

quortex/terraform-azurerm-load-balancer

Repository files navigation

Quortex

terraform-azurerm-load-balancer

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 !

Created resources

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.

Usage example

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 = []
}

Related Projects

This project is part of our terraform modules to provision a Quortex infrastructure for Microsoft Azure.

infra_azure

Check out these related projects.

Help

Got a question?

File a GitHub issue or send us an email.

About

A terraform module for Quortex infrastructure Azure load balancing layer.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages