forked from cloudposse/terraform-null-label
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathoutputs.tf
54 lines (44 loc) · 1.36 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
output "id" {
value = "${local.enabled ? local.id : ""}"
description = "Disambiguated ID"
}
output "name" {
value = "${local.enabled ? local.name : ""}"
description = "Normalized name"
}
output "namespace" {
value = "${local.enabled ? local.namespace : ""}"
description = "Normalized namespace"
}
output "stage" {
value = "${local.enabled ? local.stage : ""}"
description = "Normalized stage"
}
output "environment" {
value = "${local.enabled ? local.environment : ""}"
description = "Normalized environment"
}
output "attributes" {
value = "${local.attributes}"
description = "List of attributes"
}
output "delimiter" {
value = "${local.enabled ? local.delimiter : ""}"
description = "Delimiter between `namespace`, `environment`, `stage`, `name` and `attributes`"
}
output "tags" {
value = "${local.tags}"
description = "Normalized Tag map"
}
output "tags_as_list_of_maps" {
value = ["${local.tags_as_list_of_maps}"]
description = "Additional tags as a list of maps, which can be used in several AWS resources"
}
output "context" {
value = "${local.output_context}"
description = "Context of this module to pass to other label modules"
}
output "label_order" {
value = "${local.label_order_final_list}"
description = "The naming order of the id output and Name tag"
}