diff --git a/outputs.tf b/outputs.tf index e679654b..6492835a 100644 --- a/outputs.tf +++ b/outputs.tf @@ -174,7 +174,7 @@ output "dns_instance_id" { output "dns_custom_resolver_id" { description = "The ID of the DNS Custom Resolver." - value = (var.enable_hub && !var.skip_custom_resolver_hub_creation) ? one(ibm_dns_custom_resolver.custom_resolver_hub[*].instance_id) : null + value = (var.enable_hub && !var.skip_custom_resolver_hub_creation) ? one(ibm_dns_custom_resolver.custom_resolver_hub[*].custom_resolver_id) : null } ## DNS Zone and Records