-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
80 lines (65 loc) · 1.81 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
68
69
70
71
72
73
74
75
76
77
78
79
80
variable "environment" {
description = "Deployment environment, i.e. dev/stage/prod, etc"
type = string
}
variable "availability_zones" {
description = "List of availability zones from VPC"
type = list(string)
}
variable "vpc_id" {
description = "ID of the VPC that will contain the provisioned resources"
type = string
}
variable "rds_private_subnets" {
description = "IDs of private subnets within the VPC"
type = list(string)
}
variable "rds_allow_from_sg" {
description = "Security group from which to allow connections to RDS"
type = string
}
variable "rds_engine" {
description = "Engine type for RDS database"
type = string
}
variable "rds_engine_version" {
description = "Engine version number for RDS database"
type = string
}
variable "rds_instance_type" {
description = "Instance type for RDS database"
type = string
}
variable "rds_instance_count" {
description = "Number of RDS instances in the database cluster"
type = number
}
variable "rds_storage_encrypted" {
description = "Enables encryption for RDS storage"
type = bool
}
variable "rds_iam_db_auth" {
description = "Enables IAM auth for the database in RDS"
type = bool
}
variable "rds_backup_retention_period" {
description = "Days specified for RDS snapshotretention period"
type = number
}
variable "rds_preferred_backup_window" {
description = "Backup window for RDS"
type = string
}
variable "rds_database_name" {
description = "Name for the application database in RDS"
type = string
}
variable "rds_root_password" {
description = "Root password for RDS database"
type = string
}
variable "common_tags" {
type = map(string)
description = "A map of common tags"
default = {}
}