File tree Expand file tree Collapse file tree 4 files changed +29
-13
lines changed
application_gateway_with_ssl
application_gateway_with_waf Expand file tree Collapse file tree 4 files changed +29
-13
lines changed Original file line number Diff line number Diff line change @@ -34,9 +34,13 @@ module "application-gateway" {
3434 # SKU requires `name`, `tier` to use for this Application Gateway
3535 # `Capacity` property is optional if `autoscale_configuration` is set
3636 sku = {
37- name = "Standard_v2"
38- tier = "Standard_v2"
39- capacity = 1
37+ name = "Standard_v2"
38+ tier = "Standard_v2"
39+ }
40+
41+ autoscale_configuration = {
42+ min_capacity = 1
43+ max_capacity = 15
4044 }
4145
4246 # A backend pool routes request to backend servers, which serve the request.
Original file line number Diff line number Diff line change @@ -23,9 +23,13 @@ module "application-gateway" {
2323 # SKU requires `name`, `tier` to use for this Application Gateway
2424 # `Capacity` property is optional if `autoscale_configuration` is set
2525 sku = {
26- name = " Standard_v2"
27- tier = " Standard_v2"
28- capacity = 1
26+ name = " Standard_v2"
27+ tier = " Standard_v2"
28+ }
29+
30+ autoscale_configuration = {
31+ min_capacity = 1
32+ max_capacity = 15
2933 }
3034
3135 # A backend pool routes request to backend servers, which serve the request.
Original file line number Diff line number Diff line change @@ -34,9 +34,13 @@ module "application-gateway" {
3434 # SKU requires `name`, `tier` to use for this Application Gateway
3535 # `Capacity` property is optional if `autoscale_configuration` is set
3636 sku = {
37- name = "WAF_v2"
38- tier = "WAF_v2"
39- capacity = 1
37+ name = "Standard_v2"
38+ tier = "Standard_v2"
39+ }
40+
41+ autoscale_configuration = {
42+ min_capacity = 1
43+ max_capacity = 15
4044 }
4145
4246 # A backend pool routes request to backend servers, which serve the request.
@@ -63,7 +67,7 @@ module "application-gateway" {
6367 path = "/"
6468 enable_https = true
6569 request_timeout = 30
66- probe_name = "appgw-testgateway-westeurope-probe1" # Remove this if `health_probes` object is not defined.
70+ # probe_name = "appgw-testgateway-westeurope-probe1" # Remove this if `health_probes` object is not defined.
6771 connection_draining = {
6872 enable_connection_draining = true
6973 drain_timeout_sec = 300
Original file line number Diff line number Diff line change @@ -23,9 +23,13 @@ module "application-gateway" {
2323 # SKU requires `name`, `tier` to use for this Application Gateway
2424 # `Capacity` property is optional if `autoscale_configuration` is set
2525 sku = {
26- name = " WAF_v2"
27- tier = " WAF_v2"
28- capacity = 1
26+ name = " Standard_v2"
27+ tier = " Standard_v2"
28+ }
29+
30+ autoscale_configuration = {
31+ min_capacity = 1
32+ max_capacity = 15
2933 }
3034
3135 # A backend pool routes request to backend servers, which serve the request.
You can’t perform that action at this time.
0 commit comments