forked from cloudposse/terraform-null-label
-
Notifications
You must be signed in to change notification settings - Fork 0
/
label8t.tf
45 lines (36 loc) · 818 Bytes
/
label8t.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
module "label8t" {
source = "../../"
enabled = true
namespace = "eg"
environment = "demo"
name = "blue"
attributes = ["EKS", "cluster"]
delimiter = "-"
label_key_case = "title"
label_value_case = "title"
tags = {
"kubernetes.io/cluster/" = "shared"
}
}
module "label8t_context" {
source = "../../"
context = module.label8t.context
}
output "label8t_context_id" {
value = module.label8t_context.id
}
output "label8t_context_context" {
value = module.label8t_context.context
}
output "label8t_context_tags" {
value = module.label8t_context.tags
}
output "label8t_id" {
value = module.label8t.id
}
output "label8t_context" {
value = module.label8t.context
}
output "label8t_tags" {
value = module.label8t.tags
}