-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
70 lines (58 loc) · 1.35 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
variable "env" {
type = string
validation {
condition = contains(["prod", "stage", "test"], var.env)
error_message = "`env` must be either `prod` or `stage` or `test`"
}
}
variable "project_id" {
description = "ludo project id"
type = string
default = "vast-descent-432100-q4"
}
variable "region" {
description = "ludo project region"
type = string
default = "us-west1"
}
variable "availability_zone" {
description = "ludo availability zone"
type = string
default = "us-west1-b"
}
variable "db_name" {
description = "ludo db name"
type = string
}
variable "db_username" {
description = "ludo db user name"
type = string
}
variable "db_password" {
description = "ludo db password"
type = string
}
variable "app_image" {
description = "ludo app docker image"
type = string
validation {
condition = length(var.app_image) > 0
error_message = "app_image must not be empty string"
}
}
variable "frontend_url" {
description = "ludo frontend url"
type = string
}
variable "app_port" {
description = "port of the app"
type = number
}
variable "iam_member_emails" {
description = "ludo iam member emails"
type = list(string)
}
variable "disk_size_gb" {
description = "database disk size(GB)"
type = number
}