-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvariable.tf
More file actions
158 lines (128 loc) · 3.05 KB
/
variable.tf
File metadata and controls
158 lines (128 loc) · 3.05 KB
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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
variable "region" {
type = string
description = "Aws Region"
}
variable "awsAccessKey"{
type = string
description = "Aws Access key with full access to create and read VPC, RDS INSTANCE, DMS"
}
variable "awsSecretAccessKey"{
type = string
description = "Aws Secret Access key with full access to create and read VPC, RDS INSTANCE, DMS"
}
variable "vpcId"{
type = string
description = "VPC ID list"
}
variable "subnetIds"{
type = list(string)
description = "SubnetIds list"
}
variable "vpcExists"{
type = bool
description = "Bool specifying whether to create vpc or not"
default = false
}
variable "vpcName"{
type = string
description = "VPC NAME"
}
variable "dnsSupport"{
type = bool
description = "DNS Support Required?"
default = true
}
variable "dnsHostNames"{
type = bool
default = true
description = "DNS HostNames Required?"
}
variable "vpcCIDRBlock"{
type = string
description = "CIDR BLOCK FOR VPC"
}
variable "subnetsList"{
type = list(map(string))
description = "List of subnets , Map includes name,cidrBlock, public or private"
}
variable "instanceTenancy"{
type = string
description = "Instance Tenancy"
default = "default"
}
variable "isAutoCalculateSubnets"{
type = bool
description = "Do you want terraform to calculate subnet CIDR"
}
variable "isInternetGatewayRequired" {
type = bool
description = "Do you want to add Internet Gateway and associate Route Table to VPC"
}
variable "rdsEngine"{
type = string
description = "RDS ENGINE"
}
variable "rdsEngineVersion" {
type = string
description = "RDS Engine version"
}
variable "rdsStorageType" {
type = string
description = "Storage Type for RDS"
default = "gp2"
}
variable "rdsInstanceClass"{
type = string
description = "RDS Instance Class"
}
variable "rdsDatabaseName" {
type = string
description = "RDS Database Name"
}
variable "rdsUserName"{
type = string
description = "RDS DB USERNAME"
}
variable "dbSubNetGroupName"{
type = string
description = "Subnet GroupName to be associated with this db"
}
variable "isDbSubnetGroupExists" {
type = bool
description = "for knowing to create or use existing DbSubnetGroup"
default = true
}
variable "skipFinalSnapshot" {
type = bool
description = "Whether to delete or save final snapshot of RDS"
}
variable "rdsAllocatedStorage" {
type = number
description = "Required Storage for RDS"
default = 20
}
variable "licenseModel"{
type = map(string)
description = "License Models"
default = {"postgres":"postgresql-license","mysql":"general-public-license"}
}
variable "tags"{
type = map(string)
description = "Tags to be attached to the instance"
}
variable "isMultiAZ"{
type =bool
description = "is multiAz required"
}
variable "snapshotIdentifier"{
type = string
description "Identifier of the snapshot"
}
variable "isPerformanceInsightsEnabled"{
type =bool
description = "is PerformanceInsights required"
}
variable "cloudWatchLogExportsType"{
type = string
description "cloud watch log export type"
}