generated from libre-devops/terraform-module-template
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathoutputs.tf
90 lines (75 loc) · 3.59 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
output "service_plans_ids" {
description = "The IDs of the Service Plans."
value = { for plan in azurerm_service_plan.service_plan : plan.name => plan.id }
}
output "web_app_identities" {
description = "The identities of the Web app."
value = {
for key, value in azurerm_linux_web_app.web_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 "web_app_identity_principal_ids" {
description = "The Principal IDs associated with the Managed Service Identity."
value = { for app in azurerm_linux_web_app.web_app : app.name => app.identity[0].principal_id }
}
output "web_app_identity_tenant_ids" {
description = "The Tenant IDs associated with the Managed Service Identity."
value = { for app in azurerm_linux_web_app.web_app : app.name => app.identity[0].tenant_id }
}
output "web_app_names" {
description = "The default name of the linux Function Apps."
value = { for app in azurerm_linux_web_app.web_app : app.name => app.name }
}
output "web_apps_custom_domain_verification_id" {
description = "The custom domain verification IDs of the linux Function Apps."
value = { for app in azurerm_linux_web_app.web_app : app.name => app.custom_domain_verification_id }
}
output "web_apps_default_hostnames" {
description = "The default hostnames of the linux Function Apps."
value = { for app in azurerm_linux_web_app.web_app : app.name => app.default_hostname }
}
output "web_apps_outbound_ip_addresses" {
description = "The outbound IP addresses of the linux Function Apps."
value = { for app in azurerm_linux_web_app.web_app : app.name => app.outbound_ip_addresses }
}
output "web_apps_possible_outbound_ip_addresses" {
description = "The possible outbound IP addresses of the linux Function Apps."
value = { for app in azurerm_linux_web_app.web_app : app.name => app.possible_outbound_ip_addresses }
}
output "web_apps_site_credentials" {
description = "The site credentials for the linux Function Apps."
value = { for app in azurerm_linux_web_app.web_app : app.name => app.site_credential }
}
output "linux_web_apps_custom_domain_verification_id" {
description = "The custom domain verification IDs of the linux web apps."
value = { for app in azurerm_linux_web_app.web_app : app.name => app.custom_domain_verification_id }
}
output "linux_web_apps_hosting_environment_id" {
description = "The hosting environment IDs of the linux web apps."
value = { for app in azurerm_linux_web_app.web_app : app.name => app.hosting_environment_id }
}
output "linux_web_apps_ids" {
description = "The IDs of the linux Function Apps."
value = { for app in azurerm_linux_web_app.web_app : app.name => app.id }
}
output "linux_web_apps_kind" {
description = "The kind value of the linux web apps."
value = { for app in azurerm_linux_web_app.web_app : app.name => app.kind }
}
output "linux_web_apps_outbound_ip_address_list" {
description = "The list of outbound IP addresses of the linux web apps."
value = { for app in azurerm_linux_web_app.web_app : app.name => app.outbound_ip_address_list }
}
output "linux_web_apps_possible_outbound_ip_address_list" {
description = "The list of possible outbound IP addresses of the linux web apps."
value = { for app in azurerm_linux_web_app.web_app : app.name => app.possible_outbound_ip_address_list }
}