Skip to content

Commit

Permalink
fix: pvt endpoint connection error
Browse files Browse the repository at this point in the history
  • Loading branch information
d4kverma committed Jan 9, 2024
1 parent f132e9d commit a575fa8
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ data "azurerm_client_config" "current_client_config" {}
##-----------------------------------------------------------------------------
locals {
valid_rg_name = var.existing_private_dns_zone == null ? var.resource_group_name : var.existing_private_dns_zone_resource_group_name
private_dns_zone_name = var.existing_private_dns_zone == null ? azurerm_private_dns_zone.dnszone[0].name : var.existing_private_dns_zone
private_dns_zone_name = var.enable_private_endpoint ? var.existing_private_dns_zone == null ? azurerm_private_dns_zone.dnszone[0].name : var.existing_private_dns_zone : null
}

##-----------------------------------------------------------------------------
Expand Down Expand Up @@ -123,6 +123,10 @@ resource "azurerm_key_vault_access_policy" "admin_policy" {
"Update",
"Verify",
"WrapKey",
"Rotate",
"GetRotationPolicy",
"SetRotationPolicy",
"Release"
]

secret_permissions = [
Expand Down

0 comments on commit a575fa8

Please sign in to comment.