Skip to content

Commit 6b6e5ea

Browse files
committed
refactor check expression
1 parent 6c537ed commit 6b6e5ea

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

locals.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ locals {
5454
pool.pod_subnet_id
5555
]
5656
], [var.vnet_subnet_id]))
57+
private_dns_zone_name = try(reverse(split("/", var.private_dns_zone_id))[0], null)
5758
query_datasource_for_log_analytics_workspace_location = var.log_analytics_workspace_enabled && (var.log_analytics_workspace != null ? var.log_analytics_workspace.location == null : false)
5859
subnet_ids = toset([for id in local.potential_subnet_ids : id if id != null])
5960
use_brown_field_gw_for_ingress = var.brown_field_application_gateway_for_ingress != null

0 commit comments

Comments
 (0)