This repository was archived by the owner on Sep 3, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvariables.tf
More file actions
52 lines (42 loc) · 1.37 KB
/
variables.tf
File metadata and controls
52 lines (42 loc) · 1.37 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
51
52
# List of constant values to be used
variable "project_id" {
type = string
default = "ds3-dialect-map"
description = "GCP Project ID for the Dialect Map resources"
}
variable "project_location" {
type = string
default = "US"
description = "GCP Project global location for the Dialect Map resources"
}
variable "project_region" {
type = string
default = "us-east4"
description = "GCP Project region for the Dialect Map resources"
}
variable "project_zone" {
type = string
default = "us-east4-a"
description = "GCP Project zone for the Dialect Map resources"
}
# List of empty values to be provided by environment variables,
# Following the 'TF_VAR_<variable_name>' convention.
# Ref: https://www.terraform.io/docs/configuration/variables.html#environment-variables
variable "dialect_map_db_user" {
type = string
sensitive = true
description = "Database connection login username"
validation {
condition = length(var.dialect_map_db_user) > 0
error_message = "The variable dialect_map_db_user cannot be empty."
}
}
variable "dialect_map_db_pass" {
type = string
sensitive = true
description = "Database connection login password"
validation {
condition = length(var.dialect_map_db_pass) > 0
error_message = "The variable dialect_map_db_pass cannot be empty."
}
}