Skip to content

Commit

Permalink
Added option for custom DNS
Browse files Browse the repository at this point in the history
  • Loading branch information
gillianstravers committed Nov 7, 2024
1 parent 60fe8f7 commit 983dabd
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions modules/vhub/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -40,5 +40,9 @@ resource "azurerm_firewall_policy" "this" {
resource_group_name = var.resource_group_name
location = var.virtual_hubs.location
sku = var.virtual_hubs.firewall_sku_tier
dns {
proxy_enabled = var.virtual_hubs.firewall_proxy_enabled
servers = var.virtual_hubs.firewall_dns_servers
}
}

2 changes: 2 additions & 0 deletions modules/vhub/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ variable "virtual_hubs" {
address_prefix = string
firewall_sku_tier = string
firewall_public_ip_count = number
firewall_proxy_enabled = bool
firewall_dns_servers = list(string)
})
}

Expand Down
2 changes: 2 additions & 0 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,7 @@ variable "virtual_hubs" {
address_prefix = string
firewall_sku_tier = string
firewall_public_ip_count = number
firewall_proxy_enabled = bool
firewall_dns_servers = list(string)
}))
}

0 comments on commit 983dabd

Please sign in to comment.