-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
30 lines (26 loc) · 937 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
variable "tenant_vars" {
type = object({
# enforced tags, all required attributes for costing and ID
cost_centre = string
account_code = string
portfolio_id = string
project_id = string
service_id = string
# other attributes, required for cloudfront creation
repository = string
github_environment_name = string
cloudfront_aliases = list(string)
cloudfront_cert = string
cloudfront_function_rewrite_arn = string
#required for naming of resources
#e.g. "cc-static-site-${var.tenant_vars.product}-${var.tenant_vars.component}"
component = string
product = string
})
}
variable "cloud_front_default_vars" {
type = any
}
variable "aws_region" {
type = string
}