-
Notifications
You must be signed in to change notification settings - Fork 1
/
output.tf
29 lines (24 loc) · 1.08 KB
/
output.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 "mysql_flexible_server_id" {
value = azurerm_mysql_flexible_server.main[0].id
description = "The ID of the MySQL Flexible Server."
}
output "azurerm_private_dns_zone_virtual_network_link_id" {
value = azurerm_private_dns_zone_virtual_network_link.main[0].id
description = "The ID of the Private DNS Zone Virtual Network Link."
}
output "existing_private_dns_zone_virtual_network_link_id" {
value = length(azurerm_private_dns_zone_virtual_network_link.main2) > 0 ? azurerm_private_dns_zone_virtual_network_link.main2[0].id : null
}
output "azurerm_mysql_flexible_server_configuration_id" {
value = azurerm_mysql_flexible_server_configuration.main[0].id
description = "The ID of the MySQL Flexible Server Configuration."
}
output "azurerm_private_dns_zone_id" {
value = azurerm_private_dns_zone.main[0].id
description = "The Private DNS Zone ID."
}
output "password_result" {
value = var.admin_password == null ? random_password.main[0].result : var.admin_password
description = "Password Value"
sensitive = true
}