-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathvariables.tf
94 lines (76 loc) · 1.73 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
84
85
86
87
88
89
90
91
92
93
94
variable "name" {
description = "Name prefix for all EFS resources."
default = "App"
}
variable "cluster" {
description = "Enable/disable cluster."
default = false
}
variable "storage" {
description = "Storage size for the DB."
default = 10
}
variable "port" {
description = "DB port."
default = 3306
}
variable "azs" {
description = "A list of availability zones to associate with."
type = list
default = []
}
variable "access_sg_ids" {
description = "A list of security groups Ids to grant access."
type = list
default = []
}
variable "vpc_id" {
description = "VPC Id where the EFS resources will be deployed."
}
variable "newbits" {
description = "newbits in the cidrsubnet function."
default = 26
}
variable "netnum" {
description = "netnum in the cidrsubnet function."
default = 0
}
variable "rt_id" {
description = "Route Table Id to assing to the EFS subnet."
}
variable "access_cidrs" {
description = "A list of Subnets CIDR Blocks to grant access"
type = list
default = []
}
variable "tags" {
description = "A mapping of tags to assign to the resource."
default = {}
}
variable "type" {
description = "RDS instance type."
default = "db.t2.small"
}
variable "engine" {
description = "Engine"
default = "aurora-mysql"
}
variable "engine_version" {
description = "Engine version"
default = "5.7"
}
variable "db_name" {
description = "Database name."
default = "app"
}
variable "db_user" {
description = "Database user."
default = "app"
}
variable "db_password" {
description = "Database password."
}
variable "db_snapshot_identifier" {
description = "Snapshot for creating new DB."
default = ""
}