forked from kumarvna/terraform-azurerm-app-service
-
Notifications
You must be signed in to change notification settings - Fork 0
/
output.tf
77 lines (63 loc) · 3.21 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
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
output "app_service_plan_id" {
description = "The resource ID of the App Service Plan component"
value = azurerm_app_service_plan.main.id
}
output "maximum_number_of_workers" {
description = " The maximum number of workers supported with the App Service Plan's sku"
value = azurerm_app_service_plan.main.maximum_number_of_workers
}
output "app_service_id" {
description = "The resource ID of the App Service component"
value = azurerm_app_service.main.id
}
output "default_site_hostname" {
description = "The Default Hostname associated with the App Service"
value = format("https://%s/", azurerm_app_service.main.default_site_hostname)
}
output "outbound_ip_addresses" {
description = "A comma separated list of outbound IP addresses"
value = azurerm_app_service.main.outbound_ip_addresses
}
output "outbound_ip_address_list" {
description = "A list of outbound IP addresses"
value = azurerm_app_service.main.outbound_ip_address_list
}
output "possible_outbound_ip_addresses" {
description = "A comma separated list of outbound IP addresses - not all of which are necessarily in use. Superset of `outbound_ip_addresses`."
value = azurerm_app_service.main.possible_outbound_ip_addresses
}
output "possible_outbound_ip_address_list" {
description = "A list of outbound IP addresses - not all of which are necessarily in use. Superset of outbound_ip_address_list."
value = azurerm_app_service.main.possible_outbound_ip_address_list
}
output "identity" {
description = "An identity block, which contains the Managed Service Identity information for this App Service."
value = azurerm_app_service.main.identity
}
output "application_insights_id" {
description = "The ID of the Application Insights component"
value = var.application_insights_enabled ? azurerm_application_insights.main.*.id : null
}
output "application_insights_app_id" {
description = "The App ID associated with this Application Insights component"
value = var.application_insights_enabled ? azurerm_application_insights.main.*.app_id : null
}
output "application_insights_instrumentation_key" {
description = "The Instrumentation Key for this Application Insights component"
value = var.application_insights_enabled ? azurerm_application_insights.main.*.instrumentation_key : null
sensitive = true
}
output "application_insights_connection_string" {
description = "The Connection String for this Application Insights component"
value = var.application_insights_enabled ? azurerm_application_insights.main.*.connection_string : null
sensitive = true
}
output "sas_url_query_string" {
description = "The computed Blob Container Shared Access Signature (SAS)"
value = var.enable_backup ? format("https://${data.azurerm_storage_account.storeacc.0.name}.blob.core.windows.net/${azurerm_storage_container.storcont.0.name}%s", data.azurerm_storage_account_blob_container_sas.main.0.sas) : null
sensitive = true
}
output "app_service_virtual_network_swift_connection_id" {
description = "The ID of the App Service Virtual Network integration"
value = var.enable_vnet_integration ? azurerm_app_service_virtual_network_swift_connection.main.*.id : null
}