Skip to content

Commit a024272

Browse files
jgbaejpalermo
authored andcommitted
fix azure application gw error
1 parent b3dc332 commit a024272

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

terraform/azure/templates/cf_lb.tf

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,8 @@ resource "azurerm_application_gateway" "cf" {
7676
location = "${var.region}"
7777

7878
sku {
79-
name = "Standard_Small"
80-
tier = "Standard"
79+
name = "Standard_v2"
80+
tier = "Standard_v2"
8181
capacity = 2
8282
}
8383

@@ -164,6 +164,7 @@ resource "azurerm_application_gateway" "cf" {
164164
http_listener_name = "${azurerm_virtual_network.bosh.name}-http-lstn"
165165
backend_address_pool_name = "${var.env_id}-cf-backend-address-pool"
166166
backend_http_settings_name = "${azurerm_virtual_network.bosh.name}-be-htst"
167+
priority = 201
167168
}
168169

169170
request_routing_rule {
@@ -172,6 +173,7 @@ resource "azurerm_application_gateway" "cf" {
172173
http_listener_name = "${azurerm_virtual_network.bosh.name}-https-lstn"
173174
backend_address_pool_name = "${var.env_id}-cf-backend-address-pool"
174175
backend_http_settings_name = "${azurerm_virtual_network.bosh.name}-be-htst"
176+
priority = 202
175177
}
176178

177179
request_routing_rule {
@@ -180,6 +182,7 @@ resource "azurerm_application_gateway" "cf" {
180182
http_listener_name = "${azurerm_virtual_network.bosh.name}-logs-lstn"
181183
backend_address_pool_name = "${var.env_id}-cf-backend-address-pool"
182184
backend_http_settings_name = "${azurerm_virtual_network.bosh.name}-be-htst"
185+
priority = 203
183186
}
184187
}
185188

0 commit comments

Comments
 (0)