This repository was archived by the owner on Sep 13, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathoutputs.tf
More file actions
43 lines (40 loc) · 2.1 KB
/
outputs.tf
File metadata and controls
43 lines (40 loc) · 2.1 KB
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
output "frontdoor_firewall_policy" {
description = "azurerm_frontdoor_firewall_policy results"
value = {
for firewall_policy in keys(azurerm_frontdoor_firewall_policy.frontdoor_firewall_policy) :
firewall_policy => {
id = azurerm_frontdoor_firewall_policy.frontdoor_firewall_policy[firewall_policy].id
}
}
}
output "frontdoor" {
description = "azurerm_frontdoor results"
value = {
for frontdoor in keys(azurerm_frontdoor.frontdoor) :
frontdoor => {
id = azurerm_frontdoor.frontdoor[frontdoor].id
name = azurerm_frontdoor.frontdoor[frontdoor].name
frontend_endpoints = azurerm_frontdoor.frontdoor[frontdoor].frontend_endpoints
}
}
}
output "frontdoor_custom_https_configuration" {
description = "azurerm_frontdoor_custom_https_configuration results"
value = {
for frontdoor_custom_https_configuration in keys(azurerm_frontdoor_custom_https_configuration.frontdoor_custom_https_configuration) :
frontdoor_custom_https_configuration => {
id = azurerm_frontdoor_custom_https_configuration.frontdoor_custom_https_configuration[frontdoor_custom_https_configuration].id
frontend_endpoint_id = azurerm_frontdoor_custom_https_configuration.frontdoor_custom_https_configuration[frontdoor_custom_https_configuration].frontend_endpoint_id
}
}
}
output "frontdoor_rules_engine" {
description = "azurerm_frontdoor_rules_engine results"
value = {
for frontdoor_rules_engine in keys(var.frontdoor_rules_engine) :
frontdoor_rules_engine => {
id = contains(local.frontdoor_rules_engine_action.override, frontdoor_rules_engine) == true ? azurerm_resource_group_template_deployment.frontdoor_rules_engine[frontdoor_rules_engine].id : azurerm_frontdoor_rules_engine.frontdoor_rules_engine[frontdoor_rules_engine].id
name = contains(local.frontdoor_rules_engine_action.override, frontdoor_rules_engine) == true ? azurerm_resource_group_template_deployment.frontdoor_rules_engine[frontdoor_rules_engine].name : azurerm_frontdoor_rules_engine.frontdoor_rules_engine[frontdoor_rules_engine].name
}
}
}