This repository has been archived by the owner on Jan 9, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 11
/
variables.tf
70 lines (62 loc) · 1.83 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
# For more details please see the following pages :
# https://www.terraform.io/docs/providers/google/r/sql_database_instance.html
##############################
### CLOUDSQL ###
##############################
# name (mandatory)
# env (mandatory)
# region (mandatory)
# db_version (default: MYSQL_5_7)
# backup_enabled (default: true)
# backup_time (default: 02:30)
variable "general" {
type = "map"
description = "General configuration"
}
# tier (default: db-f1-micro)
# zone (mandatory)
# disk_type (default: PD_SSD)
# disk_size (default: 10)
# disk_auto (default: true)
# activation_policy (default: ALWAYS)
# require_ssl (default: false)
# ipv4_enabled (default: true)
# maintenance_day (default: 1)
# maintenance_hour (default: 2)
# maintenance_track (default: stable)
variable "master" {
type = "map"
description = "Master configuration"
}
# tier (default: db-f1-micro)
# zone (mandatory)
# disk_type (default: PD_SSD)
# disk_size (default: 10)
# disk_auto (default: true)
# activation_policy (default: ALWAYS)
# retry_interval (default: 60) => disabled
# maintenance_day (default: 3)
# maintenance_hour (default: 2)
# maintenance_track (default: stable)
variable "replica" {
type = "map"
description = "Replica configuration"
}
variable "labels" {
type = "map"
default = {}
description = "Global labels"
}
##########################
### AUTORIZATIONS ###
##########################
variable "authorized_gae_applications_master" {
type = "list"
default = []
description = "A list of Google App Engine (GAE) project names that are allowed to access this master instance"
}
variable "authorized_gae_applications_replica" {
type = "list"
default = []
description = "A list of Google App Engine (GAE) project names that are allowed to access this replica instance"
}