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

Add Backend Pool Settings to Configure FrontDoor Timeouts #70

Merged
merged 1 commit into from
May 12, 2024
Merged
Show file tree
Hide file tree
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
6 changes: 6 additions & 0 deletions modules/azapi/FrontDoor/frontdoor.tf
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,12 @@ resource "azapi_resource" "frontdoor" {
}
]

# Configure Backend Pools Settings
backendPoolsSettings = {
enforceCertificateNameCheck = var.enforce_certificate_name_check
sendRecvTimeoutSeconds = var.send_recv_timeout_seconds
}

# Configure Backend Pool
backendPools = [
for pool in var.backend_pools :
Expand Down
12 changes: 12 additions & 0 deletions modules/azapi/FrontDoor/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,18 @@ variable "health_probe_abbreviation" {
default = "hp"
}

variable "enforce_certificate_name_check" {
description = "Enforce certificate name check."
type = string
default = "Enabled"
}

variable "send_recv_timeout_seconds" {
description = "The send and receive timeout in seconds."
type = number
default = 30
}

variable "backend_pools" {
description = "A list of backend pools to be associated with the Front Door."
type = list(object({
Expand Down
Loading