-
Notifications
You must be signed in to change notification settings - Fork 2
/
variables.tf
executable file
·32 lines (27 loc) · 797 Bytes
/
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
variable "gcr_location" {
type = string
description = "The location of the registry. One of ASIA, EU, US or not specified. See the official documentation for more information on registry locations."
validation {
condition = can(regex("^(ASIA|EU|US)$", var.gcr_location))
error_message = "Possible values are: ASIA, EU or US."
}
default = "US"
}
variable "deploy_registry" {
description = "Feature flag, true or false"
default = true
type = bool
}
variable "name" {
description = "Name of the image."
type = string
}
variable "tag" {
description = "Image tag."
type = string
default = "latest"
}
variable "dockerfile_folder" {
type = string
description = "This is the folder which contains the Dockerfile"
}