-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathvariables.tf
126 lines (103 loc) · 2.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
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
variable "dle_ami_name" {
description = "Filter to be used to find a Database Lab AMI by name"
default = "DBLABserver"
}
variable "dle_version_short" {
description = "2-digit DLE version (major version)"
default = "2.3"
}
variable "dle_version_full" {
description = "3-digit DLE version (2-digit major + minor)"
default = "2.3.1"
}
variable "aws_region" {
description = "AWS Region"
default = "us-east-1"
}
variable "ami_owner" {
description = "Filter for the AMI owner"
default = "self"
}
variable "instance_type" {
description = "Type of EC2 instance"
default = "t2.micro"
}
variable "keypair" {
description = "Key pair to access the EC2 instance"
default = "default"
}
variable "allow_ssh_from_cidrs" {
description = "List of CIDRs allowed to connect to SSH"
default = ["0.0.0.0/0"]
}
variable "allow_api_from_cidrs" {
description = "List of CIDRs allowed to connect to API"
default = ["0.0.0.0/0"]
}
variable "tag_name" {
description = "Value of the tags Name to apply to all resources"
default = "DBLABserver"
}
variable "dns_zone_name" {
description = "The Route53 hosted zone where the DLE will be managed"
default = "aws.postgres.ai"
}
variable "dns_api_subdomain" {
description = "The Hosted zone subdomain that will point to the DLE API"
default = "demo-api"
}
variable "availability_zone" {
description = "AZ for EBS volumes"
default = "us-east-1a"
}
variable "ebs_size" {
description = "The size (GiB) for data volumes used by DLE"
default = "1"
}
variable "ebs_type" {
description = "EBS volume type used by DLE"
default="gp2"
}
variable "ec2_ebs_names" {
description = "List of paths for EBS volumes mounts"
default = [
"/dev/xvdf",
"/dev/xvdg",
]
}
variable "postgres_source_dbname" {
description = "Source database name"
default="dbname"
}
variable "postgres_source_host" {
description = "Source database host"
default="localhost"
}
variable "postgres_source_port" {
description = "Source database port"
default="5432"
}
variable "postgres_source_username" {
description = "Source database username"
sensitive = true
}
variable "postgres_source_password" {
description = "Source database password"
sensitive = true
}
variable "postgres_source_version" {
description = "Source PostgreSQL major version (examples: 9.6, 11, 14)"
default="13"
}
variable "dle_token" {
description = "DLE verification token"
default = "_token_"
}
variable "dle_debug" {
description = "DLE debug mode"
default = "false"
}
variable "dle_retrieval_refresh_timetable" {
description = "DLE logical refresh timetable"
default = "0 0 * * 0"
}