-
Notifications
You must be signed in to change notification settings - Fork 2
/
outputs.tf
55 lines (47 loc) · 2.17 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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
output "function_app_identities" {
description = "The identities of the Storage Accounts."
value = {
for key, value in azurerm_linux_function_app.function_app : key =>
length(value.identity) > 0 ? {
type = try(value.identity[0].type, null)
principal_id = try(value.identity[0].principal_id, null)
tenant_id = try(value.identity[0].tenant_id, null)
} : {
type = null
principal_id = null
tenant_id = null
}
}
}
output "function_app_names" {
description = "The default name of the Linux Function Apps."
value = { for app in azurerm_linux_function_app.function_app : app.name => app.name }
}
output "function_apps_custom_domain_verification_id" {
description = "The custom domain verification IDs of the Linux Function Apps."
value = { for app in azurerm_linux_function_app.function_app : app.name => app.custom_domain_verification_id }
}
output "function_apps_default_hostnames" {
description = "The default hostnames of the Linux Function Apps."
value = { for app in azurerm_linux_function_app.function_app : app.name => app.default_hostname }
}
output "function_apps_outbound_ip_addresses" {
description = "The outbound IP addresses of the Linux Function Apps."
value = { for app in azurerm_linux_function_app.function_app : app.name => app.outbound_ip_addresses }
}
output "function_apps_possible_outbound_ip_addresses" {
description = "The possible outbound IP addresses of the Linux Function Apps."
value = { for app in azurerm_linux_function_app.function_app : app.name => app.possible_outbound_ip_addresses }
}
output "function_apps_site_credentials" {
description = "The site credentials for the Linux Function Apps."
value = { for app in azurerm_linux_function_app.function_app : app.name => app.site_credential }
}
output "linux_function_apps_ids" {
description = "The IDs of the Linux Function Apps."
value = { for app in azurerm_linux_function_app.function_app : app.name => app.id }
}
output "service_plans_ids" {
description = "The IDs of the Service Plans."
value = { for plan in azurerm_service_plan.service_plan : plan.name => plan.id }
}