-
Notifications
You must be signed in to change notification settings - Fork 68
/
outputs.tf
29 lines (20 loc) · 825 Bytes
/
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
output "id" {
value = azurerm_app_service.main.id
description = "The ID of the App Service."
}
output "hostname" {
value = azurerm_app_service.main.default_site_hostname
description = "The default hostname for the App Service."
}
output "outbound_ips" {
value = split(",", azurerm_app_service.main.outbound_ip_addresses)
description = "A list of outbound IP addresses for the App Service."
}
output "possible_outbound_ips" {
value = split(",", azurerm_app_service.main.possible_outbound_ip_addresses)
description = "A list of possible outbound IP addresses for the App Service. Superset of outbound_ips."
}
output "principal_id" {
value = azurerm_app_service.main.identity[0].principal_id
description = "The principal ID for the system-assigned identity associated with the App Service."
}