This repository was archived by the owner on Jan 9, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathvariables.tf
More file actions
50 lines (44 loc) · 1.27 KB
/
variables.tf
File metadata and controls
50 lines (44 loc) · 1.27 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
# 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)
# availability_type (default: ZONAL)
# require_ssl (default: false)
# ipv4_enabled (default: true)
# maintenance_day (default: 1)
# maintenance_hour (default: 2)
# maintenance_track (default: stable)
variable "instance" {
type = "map"
description = "Instance configuration"
}
variable "labels" {
type = "map"
default = {}
description = "Global labels"
}
##########################
### AUTORIZATIONS ###
##########################
variable "authorized_gae_applications" {
type = "list"
default = []
description = "A list of Google App Engine (GAE) project names that are allowed to access this instance"
}