forked from cloudposse/terraform-null-label
-
Notifications
You must be signed in to change notification settings - Fork 0
/
label8u.tf
50 lines (40 loc) · 921 Bytes
/
label8u.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
module "label8u" {
source = "../../"
enabled = true
namespace = "eg"
environment = "demo"
name = "blue"
attributes = ["cluster"]
delimiter = "-"
label_key_case = "upper"
label_value_case = "upper"
tags = {
"kubernetes.io/cluster/" = "shared"
}
}
module "label8u_context" {
source = "../../"
context = module.label8u.context
}
output "label8u_context_id" {
value = module.label8u_context.id
}
output "label8u_context_context" {
value = module.label8u_context.context
}
// debug
output "label8u_context_normalized_context" {
value = module.label8u_context.normalized_context
}
output "label8u_context_tags" {
value = module.label8u_context.tags
}
output "label8u_id" {
value = module.label8u.id
}
output "label8u_context" {
value = module.label8u.context
}
output "label8u_tags" {
value = module.label8u.tags
}