You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description="(Optional) The limit on the maximum number of function instances that may coexist at a given time."
34
-
}
35
30
variable"min_instances" {
36
31
description="(Optional) The limit on the minimum number of function instances that may coexist at a given time."
37
32
type=number
38
-
default=1
39
-
}
40
-
variable"max_instance_request_concurrency" {
41
-
description="(Optional) The limit on the maximum number of requests that an instance can handle simultaneously. This can be used to control costs when scaling. Defaults to 1."
42
-
type=number
43
-
default=10
33
+
default=1# TODO: Update this to 0 after performance testing
Copy file name to clipboardExpand all lines: terraform/modules/cloud-function/variables.tf
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -61,7 +61,7 @@ variable "max_instances" {
61
61
variable"min_instances" {
62
62
description="(Optional) The limit on the minimum number of function instances that may coexist at a given time."
63
63
type=number
64
-
default=0
64
+
default=1
65
65
}
66
66
variable"max_instance_request_concurrency" {
67
67
description="(Optional) The limit on the maximum number of requests that an instance can handle simultaneously. This can be used to control costs when scaling. Defaults to 1."
description="API Gateway service account who can invoke this function. This is required!"
55
60
}
56
61
variable"max_instances" {
57
-
default=1
62
+
default=10
58
63
type=number
59
64
description="(Optional) The limit on the maximum number of function instances that may coexist at a given time."
60
65
}
61
66
variable"min_instances" {
62
67
description="(Optional) The limit on the minimum number of function instances that may coexist at a given time."
63
68
type=number
64
-
default=0
69
+
default=1
65
70
}
66
71
variable"max_instance_request_concurrency" {
67
72
description="(Optional) The limit on the maximum number of requests that an instance can handle simultaneously. This can be used to control costs when scaling. Defaults to 1."
description="(Optional) The limit on the maximum number of function instances that may coexist at a given time."
34
-
}
35
29
variable"min_instances" {
36
30
description="(Optional) The limit on the minimum number of function instances that may coexist at a given time."
37
31
type=number
38
32
default=1
39
33
}
40
-
variable"max_instance_request_concurrency" {
41
-
description="(Optional) The limit on the maximum number of requests that an instance can handle simultaneously. This can be used to control costs when scaling. Defaults to 1."
0 commit comments