-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathvariables.tf
90 lines (71 loc) · 1.65 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
variable "atlas_region" {
default = "US_EAST_1"
description = "Atlas Region"
}
variable "atlasprojectid" {
description = "Atlas Project ID"
}
variable "app_name" {
description = "Application name"
}
variable "environment" {
description = "Environment name"
}
variable "atlas_num_of_replicas" {
description = "Number of replicas"
}
variable "backup_on_destroy" {
default = true
description = "Create dump on destory"
}
variable "restore_on_create" {
default = true
description = "Restore DB from dump file"
}
variable "atlas_num_of_shards" {
default = 1
description = "Number of shards"
}
variable "mongo_db_major_version" {
default = "4.2"
description = "MongoDB version"
}
variable "disk_size_gb" {
default = 10
description = "MongoDB disk size in GB"
}
variable "provider_disk_iops" {
default = 1000
description = "MongoDB disk iops"
}
variable "provider_volume_type" {
default = "STANDARD"
description = "MongoDB volume type"
}
variable "provider_instance_size_name" {
default = "M10"
description = "MongoDB instance type"
}
variable "db_name" {
description = "Database name to use"
}
variable "aws_profile" {
description = "AWS profile"
}
variable "env_type" {
description = "Environment type prod/non-prod"
}
variable "init_db_environment" {
default = "NULL"
description = "Source envirnment name to restore db from"
}
variable "init_db_aws_profile" {
default = "NULL"
description = "Source envirnment aws profile to restore db from"
}
variable "allowed_envs" {
description = "The app environment allowed for this db"
}
variable "aws_vpce" {
description = "The vpcednpoint for matching envs"
}