-
Notifications
You must be signed in to change notification settings - Fork 5
/
outputs.tf
155 lines (149 loc) · 4.9 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
output "dns_zone" {
description = "Outputs all attributes of resource_type."
value = {
for dns_zone in keys(azurerm_dns_zone.dns_zone) :
dns_zone => {
for key, value in azurerm_dns_zone.dns_zone[dns_zone] :
key => value
}
}
}
output "private_dns_zone" {
description = "Outputs all attributes of resource_type."
value = {
for private_dns_zone in keys(azurerm_private_dns_zone.private_dns_zone) :
private_dns_zone => {
for key, value in azurerm_private_dns_zone.private_dns_zone[private_dns_zone] :
key => value
}
}
}
output "dns_a_record" {
description = "Outputs all attributes of resource_type."
value = {
for dns_a_record in keys(azurerm_dns_a_record.dns_a_record) :
dns_a_record => {
for key, value in azurerm_dns_a_record.dns_a_record[dns_a_record] :
key => value
}
}
}
output "private_dns_a_record" {
description = "Outputs all attributes of resource_type."
value = {
for private_dns_a_record in keys(azurerm_private_dns_a_record.private_dns_a_record) :
private_dns_a_record => {
for key, value in azurerm_private_dns_a_record.private_dns_a_record[private_dns_a_record] :
key => value
}
}
}
output "dns_cname_record" {
description = "Outputs all attributes of resource_type."
value = {
for dns_cname_record in keys(azurerm_dns_cname_record.dns_cname_record) :
dns_cname_record => {
for key, value in azurerm_dns_cname_record.dns_cname_record[dns_cname_record] :
key => value
}
}
}
output "private_dns_cname_record" {
description = "Outputs all attributes of resource_type."
value = {
for private_dns_cname_record in keys(azurerm_private_dns_cname_record.private_dns_cname_record) :
private_dns_cname_record => {
for key, value in azurerm_private_dns_cname_record.private_dns_cname_record[private_dns_cname_record] :
key => value
}
}
}
output "dns_txt_record" {
description = "Outputs all attributes of resource_type."
value = {
for dns_txt_record in keys(azurerm_dns_txt_record.dns_txt_record) :
dns_txt_record => {
for key, value in azurerm_dns_txt_record.dns_txt_record[dns_txt_record] :
key => value
}
}
}
output "private_dns_txt_record" {
description = "Outputs all attributes of resource_type."
value = {
for private_dns_txt_record in keys(azurerm_private_dns_txt_record.private_dns_txt_record) :
private_dns_txt_record => {
for key, value in azurerm_private_dns_txt_record.private_dns_txt_record[private_dns_txt_record] :
key => value
}
}
}
output "dns_mx_record" {
description = "Outputs all attributes of resource_type."
value = {
for dns_mx_record in keys(azurerm_dns_mx_record.dns_mx_record) :
dns_mx_record => {
for key, value in azurerm_dns_mx_record.dns_mx_record[dns_mx_record] :
key => value
}
}
}
output "private_dns_mx_record" {
description = "Outputs all attributes of resource_type."
value = {
for private_dns_mx_record in keys(azurerm_private_dns_mx_record.private_dns_mx_record) :
private_dns_mx_record => {
for key, value in azurerm_private_dns_mx_record.private_dns_mx_record[private_dns_mx_record] :
key => value
}
}
}
output "private_dns_zone_virtual_network_link" {
description = "Outputs all attributes of resource_type."
value = {
for private_dns_zone_virtual_network_link in keys(azurerm_private_dns_zone_virtual_network_link.private_dns_zone_virtual_network_link) :
private_dns_zone_virtual_network_link => {
for key, value in azurerm_private_dns_zone_virtual_network_link.private_dns_zone_virtual_network_link[private_dns_zone_virtual_network_link] :
key => value
}
}
}
output "variables" {
description = "Displays all configurable variables passed by the module. __default__ = predefined values per module. __merged__ = result of merging the default values and custom values passed to the module"
value = {
default = {
for variable in keys(local.default) :
variable => local.default[variable]
}
merged = {
dns_zone = {
for key in keys(var.dns_zone) :
key => local.dns_zone[key]
}
private_dns_zone = {
for key in keys(var.private_dns_zone) :
key => local.private_dns_zone[key]
}
dns_a_record = {
for key in keys(var.dns_a_record) :
key => local.dns_a_record[key]
}
dns_cname_record = {
for key in keys(var.dns_cname_record) :
key => local.dns_cname_record[key]
}
dns_txt_record = {
for key in keys(var.dns_txt_record) :
key => local.dns_txt_record[key]
}
dns_mx_record = {
for key in keys(var.dns_mx_record) :
key => local.dns_mx_record[key]
}
private_dns_zone_virtual_network_link = {
for key in keys(var.private_dns_zone_virtual_network_link) :
key => local.private_dns_zone_virtual_network_link[key]
}
}
}
}