Repository navigation
Expand file tree
/
Copy pathvariables.tf
More file actions
167 lines (133 loc) · 3.36 KB
/
Copy pathvariables.tf
File metadata and controls
167 lines (133 loc) · 3.36 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
159
160
161
162
163
164
165
166
167
variable "repository_name" {
description = "GitHub repository name"
default = "st"
}
variable "static_repository_name" {
description = "GitHub static website repository name"
default = "st"
}
variable "repository_owner" {
description = "Github repository username"
default = "paoloo"
}
variable "repository_branch" {
description = "Github repository branch"
default = "master"
}
variable "github_token" {
description = "GitHub OAuth key"
default = ""
}
variable "region" {
description = "AWS region to build this infrastructure"
default = "us-east-2"
}
variable "app_name" {
description = "application base unique name"
default = "cz"
}
variable "app_port" {
description = "application port"
default = 5000
}
variable "use_ssl" {
description = "use SSL? yes or no"
default = "no"
}
variable "environment" {
description = "Name of an environment (e.g. staging, qa, production)"
default = "staging"
}
variable "app_environment" {
description = "Name of an app profile environment variables"
default = "staging"
}
variable "base_domain" {
description = "top level domain where application should respond"
default = "covidzero.com.br"
}
variable "vpc_cidr" {
description = "base CIDR for VPC"
default = "10.77.0.0/16"
}
variable "deploy_min_t" {
description = "Minimum healthy tasks during the deployment"
default = 100
}
variable "deploy_max_t" {
description = "Maximum healthy tasks during the deployment"
default = 200
}
variable "scale_min" {
description = "Minimun nodes to scale down"
default = 1
}
variable "scale_max" {
description = "Maximum nodes to scale up"
default = 4
}
variable "az_count" {
description = "Number of AZs to cover in a given AWS region"
default = "2"
}
variable "app_count" {
description = "Number of docker containers to run"
default = 2
}
variable "fargate_cpu" {
description = "Fargate instance CPU units to provision (1 vCPU = 1024 CPU units)"
default = "2048"
}
variable "fargate_memory" {
description = "Fargate instance memory to provision (in MiB)"
default = "4096"
}
variable "health_check_path" {
description = "path for healthcheck"
default = "/data_api/v1/"
}
variable "db_name" {
description = "database name"
default = "covid"
}
variable "db_username" {
description = "database username"
default = "covid-admin"
}
variable "db_passwd" {
description = "database password"
default = "covid-passwd"
}
variable "jwt_secret_key" {
description = "jwt secret key"
default = ""
}
variable "auth_username" {
description = "auth username"
}
variable "auth_password" {
description = "auth_password"
}
variable "cloudflare_api_token" {
description = "cloudflare api token to be used in integations"
}
variable "hostname_api_default" {
description = "If you'd like to an specific hostname for API instead of app_name.domain.com"
default = ""
}
variable "hostname_app_front_default" {
description = "If you'd like to an specific hostname for Frntend Application instead of app_name.domain.com"
default = ""
}
variable "google_map_key" {
description = "Google Map key"
default = ""
}
variable "ribon_username" {
description = "Ribon username"
default = ""
}
variable "ribon_password" {
description = "Ribon Password"
default = ""
}