-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvariables.tf
More file actions
122 lines (102 loc) · 3.05 KB
/
Copy pathvariables.tf
File metadata and controls
122 lines (102 loc) · 3.05 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
variable "render_dir" {
description = "Path to output generated Kubernetes manifests"
type = "string"
default = "./generated"
}
variable "gcloud_creds" {
description = "Credentials used to authenticate with Google Cloud and create a cluster. Credentials can be downloaded at https://console.cloud.google.com/apis/credentials/serviceaccountkey."
type = "string"
default = ""
}
variable "cluster_project" {
description = "Gcloud project to deploy cluster in."
type = "string"
}
variable "cluster_region" {
description = "Gcloud region to deploy cluster in."
type = "string"
default = "us-west1"
}
variable "cluster_name" {
description = "Name for the GKE cluster"
type = "string"
default = "help-users-vote"
}
variable "cluster_username" {
description = "Username to connect to Kubernetes API Server"
type = "string"
default = "huv-user"
}
variable "cluster_password" {
description = "Password to connect to Kubernetes API Server (must be at least 16 char)"
type = "string"
}
variable "sql_service_account_id" {
description = "ID of the Google Cloud Service Account used to access SQL database instances."
type = "string"
default = "huv-sql-access"
}
variable "sql_db_password" {
description = "Password for the SQL user used to perform writes."
type = "string"
default = "changeme"
}
variable "sql_db_tier" {
description = "Tier of the Cloud SQL instance"
type = "string"
default = "db-f1-micro"
}
variable "certs" {
description = "Path to directory containing CloudFlare Argo certificates formated as Secrets"
type = "string"
default = ""
}
variable "domain" {
description = "Domain which is used in configuring ingresses"
type = "string"
default = "staging.helpusersvote.com"
}
variable "google_api_key" {
description = "Google API Key to use the Civic Information API"
type = "string"
default = ""
}
variable "initial_node_count" {
description = "Initial count of nodes for Google Kubernetes cluster"
type = "string"
default = 2
}
variable "environment" {
description = "String used to uniquely identify an environment"
type = "string"
default = ""
}
variable "events_api_read_key" {
description = "Events API read key for the Dashboard"
type = "string"
default = ""
}
variable "segment_write_key" {
description = "Token used to write events into Segment"
type = "string"
default = ""
}
variable "sentry_dsn" {
description = "Sentry Data Source Name used for reporting events"
type = "string"
default = ""
}
variable "redis_disk_size" {
description = "Size (in GB) of the disk created for Redis"
type = "string"
default = "250"
}
variable "prometheus_disk_size" {
description = "Size (in GB) of the disk created for Prometheus"
type = "string"
default = "250"
}
variable "do_destroy" {
description = "Actually destroy manifests, otherwise will skip"
default = false
}