app-gateway

claranet/app-gateway/azurerm

Terraform Module HCL AZURERM

Terraform module for Azure Application Gateway

Install
module "app-gateway" {
source = "claranet/app-gateway/azurerm"
version = "8.3.1"
}
plain text: /constructs/tfmod-claranet-app-gateway-azurerm/install.txt
⭐ Source on GitHub 📦 Registry page
README

Azure Application Gateway ![Changelog](CHANGELOG.md) ![Notice](NOTICE) ![Apache V2 License](LICENSE) ![OpenTofu Registry](https://search.opentofu.org/module/claranet/app-gateway/azurerm/) This Terraform module creates an Application Gateway associated with a Public IP and with a Subnet, a Network Security Group and network security rules authorizing port 443 and ports for internal healthcheck of Application Gateway. The Diagnostics Logs are activated. Naming Resource naming is based on the Microsoft CAF naming convention best practices. Legacy naming is available by setting the parameter use_caf_naming to false. We rely on the official Terraform Azure CAF naming provider to generate resource names. Global versioning rule for Claranet Azure modules | Module version | Terraform version | Ope

Inputs (50)
NameTypeDescriptionDefault
client_namestringClient name/account used in naming. required
backend_http_settingslist(object({ name = List of objects including backend http settings configurations. required
http_listenerslist(object({ name = striList of objects with HTTP listeners configurations and custom error configuratio required
ssl_profileslist(object({ name List of objects with SSL profiles. Default profile is used when this variable is[]
trusted_root_certificateslist(object({ name List of trusted root certificates. `file_path` is checked first, using `data` (b[]
network_watcher_resource_group_namestringThe name of the resource group in which the Network Watcher was deployed. Changinull
virtual_network_namestringVirtual network name to attach the subnet.null
public_ip_label_custom_namestringDomain name label for public IP.""
nsg_custom_namestringCustom name for the network security group.null
public_ipobject({ ddos_protection_Public IP parameters.{}
nsr_https_custom_namestringCustom name for the network security rule for HTTPS protocol.null
force_firewall_policy_associationboolEnable if the Firewall Policy is associated with the Application Gateway.false
skustringThe Name of the SKU to use for this Application Gateway. Possible values are Sta"WAF_v2"
ssl_policyobject({ disabled_protocoList of objects with SSL configurations. The list of available policies can be f{}
trusted_client_certificateslist(object({ name = striList of objects with trusted client certificates configurations. The path to a []
sku_capacitynumberThe capacity of the SKU to use for this Application Gateway - which must be betw2
http2_enabledboolWhether to enable http2 or not.true
custom_namestringCustom Application Gateway name, generated if not set.""
url_path_mapslist(object({ name = striList of objects with URL path map configurations.[]
create_subnetboolBoolean to create subnet with this module.true
route_table_namestringThe Route Table name to associate with the subnetnull
create_nsgboolBoolean to create the network security group.false
gateway_ip_configuration_custom_namestringThe Name of the Application Gateway IP Configuration.""
… and 10 more inputs
Outputs (36)
http_listener_frontend_ip_configuration_ids — List of frontend IP configuration IDs from HTTP listeners.
request_routing_rule_ids — List of request routing rules IDs.
frontend_port_ids — List of frontend port IDs.
public_ip_fqdn — Fully qualified domain name of the A DNS record associated with the public IP.
backend_address_pool_ids — List of backend address pool IDs.
module_subnet — Subnet module object.
resource_public_ip — Public IP resource object.
subnet_name — The name of the subnet where the Application Gateway is attached.
frontend_ip_configuration_ids — List of frontend IP configuration IDs.
url_path_map_default_redirect_configuration_ids — List of default redirect configuration IDs attached to URL path maps.
backend_http_settings_probe_ids — List of probe IDs from backend HTTP settings.
http_listener_frontend_port_ids — List of frontend port IDs from HTTP listeners.
request_routing_rule_http_listener_ids — List of HTTP listener ICs attached to request routing rules.
url_path_map_default_backend_address_pool_ids — List of default backend address pool IDs attached to URL path maps.
name — Application Gateway name.
resource — Application Gateway resource object.
request_routing_rule_url_path_map_ids — List of URL path map IDs attached to request routing rules.
id — Application Gateway ID.
gateway_ip_configuration_ids — List of IP configuration IDs.
request_routing_rule_backend_http_settings_ids — List of HTTP settings IDs attached to request routing rules.
request_routing_rule_redirect_configuration_ids — List of redirect configuration IDs attached to request routing rules.
ssl_certificate_ids — List of SSL certificate IDs.
redirect_configuration_ids — List of redirect configuration IDs.
request_routing_rule_backend_address_pool_ids — List of backend address pool IDs attached to request routing rules.
public_ip_domain_name — Domain Name part from FQDN of the A DNS record associated with the public IP.
module_nsg — Network Security Group module object.
url_path_map_ids — List of URL path map IDs.
url_path_map_default_backend_http_settings_ids — List of default backend HTTP settings IDs attached to URL path maps.
nsg_id — The ID of the network security group from the subnet where the Application Gateway is attached.
public_ip_address — The public IP address of Application Gateway.
… and 6 more outputs
Resources (3)
azurerm_application_gatewayazurerm_public_ipterraform_data
Details
FrameworkTerraform Module
LanguageHCL
Version8.3.1
Cloud AZURERM
★ Stars39
Forks37
Total downloads50.4k
Inputs50
Outputs36
Resources3
Examples1
LicenseApache-2.0
Namespaceclaranet
Updated