-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathoutputs.tf
58 lines (51 loc) · 1.8 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
output "microsoft_app_type" {
description = "The Microsoft App Type for this Azure Bot Service."
value = var.microsoft_app_type
}
output "microsoft_app_id" {
description = "The Microsoft Application ID for the Azure Bot Service."
value = local.microsoft_app_id
}
output "microsoft_tenant_id" {
description = "The Tenant ID of the Microsoft App for this Azure Bot Service."
value = local.microsoft_app_tenant_id
}
output "microsoft_app_password" {
description = "The Microsoft Application Password."
value = var.create_app ? module.app[0].app_client_secret : null
sensitive = true
}
###########
# Channels
###########
output "direct_line_channel_id" {
description = "The Bot Direct Line Channel ID."
value = var.create_bot ? azurerm_bot_channel_directline.this[0].id : null
}
output "direct_line_sites" {
description = "The Direct Line Channel Sites."
value = var.create_bot ? azurerm_bot_channel_directline.this[0].site : null
sensitive = true
}
output "web_chat_channel_id" {
description = "The Web Chat Channel ID."
value = var.create_bot ? azurerm_bot_channel_web_chat.this[0].id : null
}
###########
# Private Endpoints
###########
output "private_endpoints" {
description = "Private Endpoints."
value = var.create_bot ? module.private_endpoint[*] : null
}
#
#output "private_endpoint_ip_address" {
# description = "The Private Endpoint IP Address."
# value = var.create_bot && var.vnet_integration_enabled ? module.private_endpoint[0].private_endpoint_ip_address : null
#}
#
#output "application_security_group_id" {
# description = "The Application Security Group ID."
# value = var.create_bot && var.vnet_integration_enabled && var.create_application_security_group ? azurerm_application_security_group.this[0].id : null
#}
#