-
Notifications
You must be signed in to change notification settings - Fork 18
/
variables.tf
83 lines (67 loc) · 1.99 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
81
82
83
variable "env" {}
variable "allowed_cidr" {
type = "list"
default = ["127.0.0.1/32"]
description = "A list of Security Group ID's to allow access to."
}
variable "allowed_security_groups" {
type = "list"
default = []
description = "A list of Security Group ID's to allow access to."
}
variable "azs" {
description = "A list of Availability Zones in the Region"
type = "list"
}
variable "cluster_size" {
description = "Number of cluster instances to create"
}
variable "db_port" {
default = 3306
}
variable "instance_class" {
description = "Instance class to use when creating RDS cluster"
default = "db.t2.medium"
}
variable "publicly_accessible" {
description = "Should the instance get a public IP address?"
default = "false"
}
variable "name" {
description = "Name for the Redis replication group i.e. cmsCommon"
}
variable "subnets" {
description = "Subnets to use in creating RDS subnet group (must already exist)"
type = "list"
}
variable "cluster_parameters" {
description = "A list of cluster parameter maps to apply"
type = "list"
default = []
}
variable "db_parameters" {
description = "A list of db parameter maps to apply"
type = "list"
default = []
}
# see aws_rds_cluster documentation for these variables
variable "database_name" { }
variable "master_username" { }
variable "master_password" { }
variable "backup_retention_period" {
description = "The days to retain backups for"
default = "30"
}
variable "preferred_backup_window" {
description = "The daily time range during which automated backups are created"
default = "01:00-03:00"
}
variable "storage_encrypted" { default = true }
variable "apply_immediately" { default = false }
variable "iam_database_authentication_enabled" { default = false }
variable "major_engine_version" { default = "5.6" }
variable "engine" { default = "aurora" }
variable "family" { default = "aurora5.6"}
variable "vpc_id" {
description = "VPC ID"
}