generated from Azure/terraform-verified-module
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathoutputs-linux-function-app.tf
51 lines (41 loc) · 1.9 KB
/
outputs-linux-function-app.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
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.
###############
# Outputs ##
###############
output "linux_function_app_service_id" {
description = "Id of the Linux App Service"
value = try(azurerm_linux_function_app.func.0.id, null)
}
output "linux_function_app_service_name" {
description = "Name of the Linux App Service"
value = try(azurerm_linux_function_app.func.0.name, null)
}
output "linux_function_app_service_default_site_hostname" {
description = "The Default Hostname associated with the Linux App Service"
value = try(azurerm_linux_function_app.func.0.default_hostname, null)
}
output "linux_function_app_service_outbound_ip_addresses" {
description = "Outbound IP addresses of the App Service"
value = try(split(",", azurerm_linux_function_app.func.0.outbound_ip_addresses), null)
}
output "linux_function_app_service_possible_outbound_ip_addresses" {
description = "Possible outbound IP addresses of the App Service"
value = try(split(",", azurerm_linux_function_app.func.0.possible_outbound_ip_addresses), null)
}
output "linux_function_app_service_site_credential" {
description = "Site credential block of the App Service"
value = try(azurerm_linux_function_app.func.0.site_credential, null)
}
output "linux_function_app_service_identity_service_principal_id" {
description = "Id of the Service principal identity of the App Service"
value = try(azurerm_linux_function_app.func.0.identity[0].principal_id, null)
}
output "linux_function_app_service_slot_name" {
description = "Name of the App Service slot"
value = try(azurerm_linux_web_app_slot.slot[0].name, null)
}
output "linux_function_app_service_slot_identity_service_principal_id" {
description = "Id of the Service principal identity of the App Service slot"
value = try(azurerm_linux_web_app_slot.slot[0].identity[0].principal_id, null)
}