-
Notifications
You must be signed in to change notification settings - Fork 1
/
var.tf
66 lines (51 loc) · 1.01 KB
/
var.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
variable "region" {
type = string
default = "us-central1"
}
variable "db_location_preference" {
type = string
default = "us-central1-a"
}
variable "db_instance" {
type = string
}
variable "db_machine_type" {
type = string
default = "db-n1-standard-2"
}
variable "db_version" {
type = string
default = "POSTGRES_12"
}
variable "db_default_disk_size" {
type = string
default = "100"
}
variable "max_connections" {
description = "max db connection size"
}
variable "db_availability_type" {
type = string
default = "REGIONAL"
}
variable "db_list" {
type = list
description = "list of databases that should be create in an instance"
}
variable "db_user" {
type = string
}
variable "db_password" {
type = string
}
variable "vpc_network" {
type = string
description = "vpc network where database will be deployed"
}
variable "network_id" {
type = string
description = "network id"
}
variable "deletion_protection" {
type = bool
}