-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathvariables.tf
50 lines (40 loc) · 1.2 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
// Environment name, used as prefix to name resources.
variable "environment" {}
// The allocated storage in gigabytes.
variable "rds_allocated_storage" {
default = "250"
}
// The instance type of the RDS instance.
variable "rds_instance_class" {
default = "db.m4.large"
}
// Specifies if the RDS instance is multi-AZ.
variable "rds_multi_az" {
default = "false"
}
// Username for the administrator DB user.
variable "mssql_admin_username" {}
// Password for the administrator DB user.
variable "mssql_admin_password" {}
// A list of VPC subnet identifiers.
variable "vpc_subnet_ids" {
type = "list"
}
// The VPC identifier where security groups are going to be applied.
variable "vpc_id" {}
// List of CIDR blocks that will be granted to access to mssql instance.
variable "vpc_cidr_blocks" {
type = "list"
default = []
}
// Additional list of CIDR blocks that will be granted to access to mssql instance.
// These list is meant to be used in the vpn security group.
variable "vpc_cidr_blocks_vpn" {
type = "list"
default = []
}
// Determines whether a final DB snapshot is created before the DB instance is deleted.
variable "skip_final_snapshot" {
type = "string"
default = "false"
}