-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
51 lines (43 loc) · 1.05 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
variable "project" {
description = "Google Cloud Platform Project ID"
default = "complete-app-324417"
type = string
}
variable "region" {
type = string
default = "us-central1"
}
variable "service_name" {
type = string
default = "redisapp"
description = "Cloud Run service name."
}
variable "container_img" {
type = string
description = "The container image."
}
variable "redis_addr" {
type = string
default = "redis-13716.c279.us-central1-1.gce.cloud.redislabs.com:13716"
description = "Redis instance address."
}
variable "cpus" {
type = number
default = 1
description = "Number of CPUs per container."
}
variable "memory" {
type = number
default = 128
description = "Memory (in Mi) to allocate to container."
}
variable "min_instances" {
type = number
default = 0
description = "Minimum number of container instances."
}
variable "max_instances" {
type = number
default = 2
description = "Maximum number of container instances."
}