-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathoutputs.tf
69 lines (56 loc) · 1.55 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
output "attributes" {
description = "Attribute string lowercase"
value = "${local.attr}"
}
output "environment" {
description = "Environment name lowercase"
value = "${local.env}"
}
output "id" {
description = "Fully formatted name ID"
value = "${local.id}"
}
output "id_20" {
description = "ID truncated to 20 characters"
value = "${local.id_20}"
}
output "id_32" {
description = "ID truncated to 32 characters"
value = "${local.id_32}"
}
output "id_attr_20" {
description = "ID max size 20 characters by truncating `id_org` then appending `attributes`"
value = "${local.id_attr_20}"
}
output "id_attr_32" {
description = "ID max size 32 characters by truncating `id_org` then appending `attributes`"
value = "${local.id_attr_32}"
}
output "id_env" {
description = "If env namespace enabled `{env}-{name}` else `{name}`"
value = "${local.id_env}"
}
output "id_org" {
description = "If org namespace enabled `{org}-{id_env}` else `{id_env}`"
value = "${local.id_org}"
}
output "name" {
description = "Name lowercase"
value = "${local.name_low}"
}
output "organization" {
description = "Organization name lowercase"
value = "${local.org}"
}
output "tags" {
description = "Tags map merged with standard tags"
value = "${local.tags}"
}
output "org_attr_20" {
description = "Internal debugging. DO NOT USE"
value = "${local.org_attr_20}"
}
output "org_attr_32" {
description = "Internal debugging. DO NOT USE"
value = "${local.org_attr_32}"
}