-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathvariables.tf
67 lines (57 loc) · 1.43 KB
/
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
variable "owner" {
description = "The owner of the resources"
type = string
default = null
}
variable "main_region" {
description = "The main AWS region"
type = string
}
variable "application" {
description = "The name of the application"
type = string
default = null
}
variable "costcenter" {
description = "The cost center"
type = string
default = null
}
variable "department" {
description = "The department"
type = string
default = null
}
variable "tags" {
description = "A map of tags to add to all resources"
type = map(string)
default = {}
}
variable "email_address" {
type = string
description = "Email address of the user"
}
variable "budgets" {
description = "List of budget configurations"
type = list(object({
budget_amount = number
}))
default = []
}
variable "given_name" {
description = "The given name of the user"
type = string
}
variable "family_name" {
description = "The family name of the user"
type = string
}
variable "sso_session_hours" {
description = "Number of hours for the SSO session duration (between 1 and 24)"
type = number
default = 8 # Default to 8 hours if not specified
validation {
condition = var.sso_session_hours > 0 && var.sso_session_hours <= 24
error_message = "The number of session hours must be greater than 0 and no more than 24."
}
}