forked from cloudposse/terraform-null-label
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlabel4.tf
34 lines (29 loc) · 731 Bytes
/
label4.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
module "label4" {
source = "../../"
namespace = "CloudPosse"
environment = "UAT"
name = "Example Cluster"
attributes = ["big", "fat", "honking", "cluster"]
delimiter = "-"
label_order = ["namespace", "stage", "environment", "attributes"]
tags = {
"City" = "Dublin"
"Environment" = "Private"
}
}
output "label4" {
value = {
id = module.label4.id
name = module.label4.name
namespace = module.label4.namespace
stage = module.label4.stage
attributes = module.label4.attributes
delimiter = module.label4.delimiter
}
}
output "label4_tags" {
value = module.label4.tags
}
output "label4_context" {
value = module.label4.context
}