Skip to content

Commit

Permalink
feat: dns zone outputs (#54)
Browse files Browse the repository at this point in the history
  • Loading branch information
matt-FFFFFF authored Nov 14, 2024
1 parent 367184e commit e05f129
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -427,6 +427,10 @@ The following outputs are exported:

Description: The final map of private link private DNS zones to link to virtual networks including the region name replacements as required.

### <a name="output_private_dns_zone_resource_ids"></a> [private\_dns\_zone\_resource\_ids](#output\_private\_dns\_zone\_resource\_ids)

Description: The map of private DNS zones to resource ids.

### <a name="output_resource_group_resource_id"></a> [resource\_group\_resource\_id](#output\_resource\_group\_resource\_id)

Description: The resource ID of the resource group that the Private DNS Zones are deployed into.
Expand Down
5 changes: 5 additions & 0 deletions outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@ output "combined_private_link_private_dns_zones_replaced_with_vnets_to_link" {
value = local.combined_private_link_private_dns_zones_replaced_with_vnets_to_link
}

output "private_dns_zone_resource_ids" {
description = "The map of private DNS zones to resource ids."
value = { for key, mod in module.avm_res_network_privatednszone : key => mod.resource_id }
}

output "resource_group_resource_id" {
description = "The resource ID of the resource group that the Private DNS Zones are deployed into."
value = local.resource_group_resource_id
Expand Down

0 comments on commit e05f129

Please sign in to comment.