-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathoutputs.tf
More file actions
87 lines (71 loc) · 2.24 KB
/
Copy pathoutputs.tf
File metadata and controls
87 lines (71 loc) · 2.24 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
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
output "id" {
value = local.enabled ? local.id : ""
description = "Disambiguated ID string restricted to `id_length_limit` characters in total."
}
output "id_full" {
value = local.enabled ? local.id_full : ""
description = "ID string not restricted in length."
}
output "enabled" {
value = local.enabled
description = "True if module is enabled, false otherwise."
}
output "namespace" {
value = local.enabled ? local.namespace : ""
description = "Normalized namespace."
}
output "tenant" {
value = local.enabled ? local.tenant : ""
description = "Normalized tenant."
}
output "environment" {
value = local.enabled ? local.environment : ""
description = "Normalized environment."
}
output "name" {
value = local.enabled ? local.name : ""
description = "Normalized name."
}
output "stage" {
value = local.enabled ? local.stage : ""
description = "Normalized stage."
}
output "delimiter" {
value = local.enabled ? local.delimiter : ""
description = "Delimiter between ID elements."
}
output "attributes" {
value = local.enabled ? local.attributes : []
description = "List of normalized attributes."
}
output "tags" {
value = local.enabled ? local.tags : {}
description = "Normalized Tag map."
}
output "label_order" {
value = local.label_order
description = "The naming order actually used to create the ID."
}
output "regex_replace_chars" {
value = local.regex_replace_chars
description = "The regex_replace_chars actually used to create the ID."
}
output "id_length_limit" {
value = local.id_length_limit
description = "The id_length_limit actually used to create the ID, with `0` meaning unlimited."
}
output "descriptors" {
value = local.descriptors
description = "Map of descriptors as configured by `descriptor_formats`."
}
output "normalized_context" {
value = local.output_context
description = "Normalized context of this module."
}
output "context" {
value = local.input
description = <<-EOT
Merged but otherwise unmodified input to this module, to be used as context input to other modules.
Note: this version will have null values as defaults, not the values actually used as defaults.
EOT
}