https://github.com/dasmeta/terraform-azure-app-gw
Terraform modules from DasMeta to manage Azure Application Gateway and related resources
https://github.com/dasmeta/terraform-azure-app-gw
application-gateway azure terraform
Last synced: 2 months ago
JSON representation
Terraform modules from DasMeta to manage Azure Application Gateway and related resources
- Host: GitHub
- URL: https://github.com/dasmeta/terraform-azure-app-gw
- Owner: dasmeta
- License: apache-2.0
- Created: 2022-08-24T09:48:37.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2024-03-13T13:39:24.000Z (over 2 years ago)
- Last Synced: 2025-02-01T03:16:52.683Z (over 1 year ago)
- Topics: application-gateway, azure, terraform
- Language: HCL
- Homepage: https://www.dasmeta.com
- Size: 26.4 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
This module creates Application Gateway associated with a Public IP and with a Subnet in Azure.
## Usage
```
module "app_gw" {
source = "../terraform-azure-app-gw"
location = local.location
resource_group_name = local.resource_group_name
app_gw_name = "applicationGateway"
public_ip_name = "appGwPublicIP"
subnet_id = "subnet_id
backend_address_pools = [
{
name = "bepool"
},
]
backend_http_settings = [
{
cookie_based_affinity = "Disabled"
name = "setting"
port = 80
protocol = "Http"
},
]
frontend_ip_configuration_name = "appGatewayFrontendIP"
frontend_port = [
{
name = "httpsPort"
port = 443
},
{
name = "httpPort"
port = 80
},
]
http_listener = [
{
frontend_ip_configuration_name = "appGatewayFrontendIP"
frontend_port_name = "httpPort"
name = "httpListener"
protocol = "Http"
}
]
request_routing_rule = [
{
backend_address_pool_name = "bepool"
backend_http_settings_name = "setting"
http_listener_name = "httpListener"
name = "rule1"
priority = 10010
rule_type = "Basic"
}
]
sku = {
capacity = 2
size = "Standard_v2"
tier = "Standard_v2"
}
}
```