Skip to content

Commit

Permalink
Respect firewall allow_all variable
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaszgarstecki committed May 28, 2024
1 parent 70651b6 commit 275040b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions postgresql/server.tf
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ resource "azurerm_postgresql_flexible_server_active_directory_administrator" "ad
}

resource "azurerm_postgresql_flexible_server_firewall_rule" "allow_all" {
count = var.firewall.allow_all ? 1 : 0
server_id = azurerm_postgresql_flexible_server.main.id
name = "allow-all"

Expand Down

0 comments on commit 275040b

Please sign in to comment.