-
Notifications
You must be signed in to change notification settings - Fork 1
/
variable.tf
60 lines (52 loc) · 1.34 KB
/
variable.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
variable "environment" {
description = "Deployment environment (e.g., dev, prod)"
type = string
}
variable "tags" {
description = "Common tags for all resources"
type = map(string)
}
variable "worker_instance_type" {
description = "EC2 instance type based on environment"
type = string
}
variable "node-group-sp-general-tier" {
type = string
}
variable "node-group-sp-spot-tier" {
type = string
}
variable "node-group-sp-monitoring-tier" {
type = string
}
variable "sp-vpc-cidr-block" {
description = "vpc cidr block"
type = string
default = null
}
variable "rds_instances" {
description = "List of RDS instances to create"
type = list(object({
identifier = string
engine = string
instance_class = string
allocated_storage = number
username = string
password = string
db_name = string
parameter_group = optional(string)
subnet_group = optional(string)
multi_az = optional(bool, false)
}))
}
variable "docdb_cluster" {
type = object({
cluster_identifier = string
engine = string
master_username = string
master_password = string
backup_retention_period = string
preferred_backup_window = string
skip_final_snapshot = bool }
)
}