-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
34 lines (31 loc) · 982 Bytes
/
variables.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
variable "application_name" {
description = "The name of the application"
type = string
default = "pillarbox-monitoring"
}
# See https://github.blog/changelog/2023-06-27-github-actions-update-on-oidc-integration-with-aws/
variable "github_thumbprint_list" {
type = list(string)
description = "Github Thumbprint list"
default = [
"6938fd4d98bab03faadb97b34396831e3780aea1",
"1c58a3a8518e8759bf075b76b750d4f2df264fcd"
]
}
variable "service_mappings" {
description = "Service mapping to Github repository and ECR image name"
type = map(object({
github_repo_name = string
ecr_image_name = string
}))
default = {
"dispatch-service" = {
github_repo_name = "SRGSSR/pillarbox-event-dispatcher"
ecr_image_name = "pillarbox-event-dispatcher"
}
"data-transfer-service" = {
github_repo_name = "SRGSSR/pillarbox-monitoring-transfer"
ecr_image_name = "pillarbox-monitoring-transfer"
}
}
}