-
Notifications
You must be signed in to change notification settings - Fork 67
/
variables.tf
73 lines (58 loc) · 1.24 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
variable "access_key" {
description = "AWS ACCEE_KEY"
}
variable "secret_key" {
description = "AWS SECRETE_KEY"
}
variable "aws_region" {
description = "AWS region to launch servers."
default = "us-west-2"
}
variable "cidr_block" {
description = "CIDR for the whole VPC"
default = {
prod = "10.10.0.0/16"
dev = "10.20.0.0/16"
}
}
variable "eks_cluster_name" {
description = "cluster name"
default = "terra"
}
variable "identifier" {
description = "Identifier for DB"
default = "terra-db"
}
variable "storage_type" {
description = "Type of the storage ssd or magnetic"
default = "gp2"
}
variable "allocated_storage" {
description = "ammount of storage allocated in GB"
default = {
prod = "100"
dev = "10"
}
}
variable "db_engine" {
description = " DB engine"
default = "postgres"
}
variable "engine_version" {
description = "DB engine version"
default = "9.6.6"
}
variable "instance_class" {
description = "mashine type to be used"
default = {
prod = "db.t2.micro"
dev = "db.t2.large"
}
}
variable "db_username" {
description = "db admin user"
default = "root"
}
variable "db_password" {
description = "password, provide through your tfvars file"
}