generated from snowplow-devops/terraform-module-template
-
Notifications
You must be signed in to change notification settings - Fork 1
/
variables.tf
64 lines (54 loc) · 1.51 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
variable "name" {
description = "A name which will be pre-pended to the resources created"
type = string
}
variable "region" {
description = "The name of the region to deploy within"
type = string
}
variable "database_version" {
description = "The database version to use (https://cloud.google.com/sql/docs/db-versions)"
type = string
default = "POSTGRES_9_6"
}
variable "deletion_protection" {
description = "Whether to protect the instance from accidental termination"
type = bool
default = false
}
variable "tier" {
description = "The tier of database to deploy"
type = string
default = "db-f1-micro"
}
variable "authorized_networks" {
description = "The list of CIDR ranges to allow access to the instance over"
default = []
type = list(object({
name = string
value = string
}))
}
variable "db_name" {
description = "The name of the database to create"
type = string
}
variable "db_username" {
description = "The name of the administration user to create"
type = string
}
variable "db_password" {
description = "The password of the administration user to create"
type = string
sensitive = true
}
variable "labels" {
description = "The labels to append to this resource"
default = {}
type = map(string)
}
variable "ssl_mode" {
description = "Specify how SSL connection should be enforced in DB connections"
default = "ALLOW_UNENCRYPTED_AND_ENCRYPTED"
type = string
}