-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariable.tf
84 lines (65 loc) · 1.76 KB
/
variable.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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
variable "project_id" {
description = "The GCP project ID"
}
variable "region" {
description = "The region where the resources will be provisioned"
default = "asia-south1"
}
variable "zone" {
description = "The zone where the resources will be provisioned"
default = "asia-south1-a"
}
variable "postgres_version" {
description = "The PostgreSQL version"
default = "13"
}
variable "primary_instance_name" {
description = "The name of the primary instance"
}
variable "machine_tier" {
description = "The tier of the instance"
}
variable "standby_instance_name" {
description = "The name of the standby instance"
}
variable "postgres_user" {
description = "The PostgreSQL user"
default = "postgres"
}
variable "postgres_password" {
description = "The PostgreSQL password"
sensitive = true
}
variable "postgres_db" {
description = "The PostgreSQL database name"
}
variable "backup_bucket_name" {
description = "The name of the Cloud Storage bucket to store backups"
}
variable "backup_retention_period" {
description = "The number of days to retain backups"
default = "15"
}
variable "notification_channel_name" {
description = "The email notification channel name"
default = "Notification Channel"
}
variable "notification_channel_mail" {
description = "The email notification channel mail address"
}
variable "vpc_network_name" {
description = "vpc network name"
}
variable "vpc_subnet_name" {
description = "vpc subnet name"
}
variable "vpc_subnet_range" {
description = "vpc subnet range"
sensitive = true
}
variable "compute_instance_disk_size" {
description = "disk size of compute instance"
}
variable "google_credentials" {
description = "The path to the Google Cloud Platform credentials file"
}