forked from cloudposse/terraform-null-label
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlabel1.tf
42 lines (33 loc) · 836 Bytes
/
label1.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
module "label1" {
source = "../../"
namespace = "CloudPosse"
environment = "UAT"
stage = "build"
name = "Winston Churchroom"
attributes = ["fire", "water", "earth", "air"]
delimiter = "-"
label_order = ["name", "environment", "stage", "attributes"]
tags = {
"City" = "Dublin"
"Environment" = "Private"
}
}
output "label1" {
value = {
id = module.label1.id
name = module.label1.name
namespace = module.label1.namespace
stage = module.label1.stage
attributes = module.label1.attributes
delimiter = module.label1.delimiter
}
}
output "label1_tags" {
value = module.label1.tags
}
output "label1_context" {
value = module.label1.context
}
output "label1_normalized_context" {
value = module.label1.normalized_context
}