Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bumped up TCP idle timeout settings #32

Merged
merged 1 commit into from
Nov 27, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions modules/pas/weblb.tf
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ resource "azurerm_public_ip" "web-lb-public-ip" {
resource_group_name = "${var.resource_group_name}"
public_ip_address_allocation = "static"
sku = "Standard"
idle_timeout_in_minutes = 30
}

resource "azurerm_lb" "web" {
Expand Down Expand Up @@ -41,6 +42,7 @@ resource "azurerm_lb_rule" "web-https-rule" {
protocol = "TCP"
frontend_port = 443
backend_port = 443
idle_timeout_in_minutes = 30

backend_address_pool_id = "${azurerm_lb_backend_address_pool.web-backend-pool.id}"
probe_id = "${azurerm_lb_probe.web-https-probe.id}"
Expand All @@ -63,6 +65,7 @@ resource "azurerm_lb_rule" "web-http-rule" {
protocol = "TCP"
frontend_port = 80
backend_port = 80
idle_timeout_in_minutes = 30

backend_address_pool_id = "${azurerm_lb_backend_address_pool.web-backend-pool.id}"
probe_id = "${azurerm_lb_probe.web-http-probe.id}"
Expand Down