-
Notifications
You must be signed in to change notification settings - Fork 0
/
outputs.tf
41 lines (35 loc) · 1.24 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
####### Deployment #######
output "deployment_name" {
description = "The Deployment name."
value = azurerm_resource_group_template_deployment.this.name
}
output "deployment_id" {
description = "The Deployment ID."
value = azurerm_resource_group_template_deployment.this.id
}
output "deployment_output_content" {
description = "The Deployment Output Content."
value = azurerm_resource_group_template_deployment.this.output_content
}
####### Connection #######
output "connection_id" {
description = "Api Connection Resource ID."
value = jsondecode(azurerm_resource_group_template_deployment.this.output_content).connectionId.value
}
output "managed_api_id" {
description = "Managed API ID."
value = jsondecode(azurerm_resource_group_template_deployment.this.output_content).managedApiId.value
}
output "connection_name" {
description = "Api Connection Name."
value = local.connection_name
}
output "connection_display_name" {
description = "Api Connection Display Name."
value = local.connection_display_name
}
####### Logic App #######
output "logic_app_parameter" {
description = "Output to use in Logic App Parameters to configure this connection."
value = local.logic_app_parameters
}