Skip to content

Commit

Permalink
fix: removed privatelink_ suffix from servicebus private dns zone var…
Browse files Browse the repository at this point in the history
…iable
  • Loading branch information
christian-calabrese committed Aug 6, 2024
1 parent 93c0f81 commit 5470822
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions src/core/_modules/event_hubs/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ module "event_hub" {
virtual_network_ids = [var.vnet_common.id]
# subnet_id = module.eventhub_snet.id
private_dns_zones = {
id = [var.privatelink_servicebus_dns_zone.id]
name = [var.privatelink_servicebus_dns_zone.name]
resource_group_name = var.privatelink_servicebus_dns_zone.resource_group_name
id = [var.servicebus_dns_zone.id]
name = [var.servicebus_dns_zone.name]
resource_group_name = var.servicebus_dns_zone.resource_group_name
}

eventhubs = var.eventhubs
Expand Down
2 changes: 1 addition & 1 deletion src/core/_modules/event_hubs/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ variable "tags" {
description = "Resource tags"
}

variable "privatelink_servicebus_dns_zone" {
variable "servicebus_dns_zone" {
type = object({
id = string
name = string
Expand Down
2 changes: 1 addition & 1 deletion src/core/_modules/global/modules/dns/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@ output "public_dns_zones" {

output "private_dns_zones" {
value = {
privatelink_servicebus = azurerm_private_dns_zone.privatelink_servicebus
servicebus = azurerm_private_dns_zone.privatelink_servicebus
}
}
2 changes: 1 addition & 1 deletion src/core/prod/westeurope.tf
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ module "event_hubs_weu" {
project = local.project_weu_legacy

resource_group_common = data.azurerm_resource_group.common_weu.name
privatelink_servicebus_dns_zone = module.global.dns.private_dns_zones.privatelink_servicebus
servicebus_dns_zone = module.global.dns.private_dns_zones.servicebus
vnet_common = module.networking_weu.vnet_common
key_vault = module.key_vault_weu.kv
error_action_group_id = data.azurerm_monitor_action_group.error_action_group.id
Expand Down

0 comments on commit 5470822

Please sign in to comment.