Skip to content

Commit 88d425e

Browse files
feat: Allow public access to Key Vault for POC
1 parent cca857e commit 88d425e

File tree

1 file changed

+2
-1
lines changed
  • infrastructure/modules/infra

1 file changed

+2
-1
lines changed

infrastructure/modules/infra/main.tf

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ module "app-key-vault" {
2020
private_endpoint_resource_group_name = azurerm_resource_group.main.name
2121
private_service_connection_is_manual = false
2222
} : null
23-
purge_protection_enabled = var.protect_keyvault
23+
public_network_access_enabled = !var.features.private_networking
24+
purge_protection_enabled = var.protect_keyvault
2425
}
2526

2627
module "log_analytics_workspace_audit" {

0 commit comments

Comments
 (0)