-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathglobal.tf
32 lines (31 loc) · 1021 Bytes
/
global.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
locals {
product_information = {
context : {
project = "cartographie-nationale"
layer = "infrastructure"
service = "api"
start_date = "2023-09-05"
end_date = "unknown"
}
purpose : {
disaster_recovery = "medium"
service_class = "bronze"
}
organization : {
client = "anct"
}
stakeholders : {
business_owner = "[email protected]"
technical_owner = "[email protected]"
approver = "[email protected]"
creator = "terraform"
team = "cartographie-nationale"
}
}
}
locals {
name_prefix = "${local.product_information.context.project}-${local.product_information.context.service}"
project_title = title(replace(local.product_information.context.project, "-", " "))
layer_title = title(replace(local.product_information.context.layer, "-", " "))
service_title = title(replace(local.product_information.context.service, "-", " "))
}