-
Notifications
You must be signed in to change notification settings - Fork 4
/
outputs.tf
29 lines (24 loc) · 1.27 KB
/
outputs.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
output "id" {
description = "Private Endpoint ID."
value = azurerm_private_endpoint.main.id
}
output "resource" {
description = "Azure Private Endpoint resource object."
value = azurerm_private_endpoint.main
}
output "module_private_dns_zone" {
description = "Azure Private DNS Zone module outputs."
value = module.private_dns_zones
}
output "ip_address" {
description = "IP address associated with the Private Endpoint."
value = azurerm_private_endpoint.main.private_service_connection[0].private_ip_address
}
output "private_dns_zones_ids" {
description = "Maps of Private DNS Zones IDs created as part of this module. Only available if `use_existing_private_dns_zones` is set to `false` and `target_resource` is not a Private Link Service."
value = { for config in azurerm_private_endpoint.main.private_dns_zone_configs : config.name => config.private_dns_zone_id }
}
output "private_dns_zones_record_sets" {
description = "Maps of Private DNS Zones record sets created as part of this module. Only available if `use_existing_private_dns_zones` is set to `false` and `target_resource` is not a Private Link Service."
value = { for config in azurerm_private_endpoint.main.private_dns_zone_configs : config.name => config.record_sets }
}