File tree Expand file tree Collapse file tree 4 files changed +13
-11
lines changed
modules/repository-function Expand file tree Collapse file tree 4 files changed +13
-11
lines changed Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ module "localhost_function" {
69
69
| labels | A set of key/value label pairs to assign to the Cloud Function. | ` map(string) ` | ` {} ` | no |
70
70
| log\_ bucket | Log bucket | ` string ` | ` null ` | no |
71
71
| log\_ object\_ prefix | Log object prefix | ` string ` | ` null ` | no |
72
- | max\_ instances | The maximum number of parallel executions of the function. | ` number ` | ` 0 ` | no |
72
+ | max\_ instances | The maximum number of parallel executions of the function. | ` number ` | ` 3000 ` | no |
73
73
| name | The name to apply to any nameable resources. | ` string ` | n/a | yes |
74
74
| project\_ id | The ID of the project to which resources will be applied. | ` string ` | n/a | yes |
75
75
| region | The region in which resources will be applied. | ` string ` | n/a | yes |
Original file line number Diff line number Diff line change @@ -126,4 +126,3 @@ variable "timeouts" {
126
126
error_message = " Only create, update, delete timeouts can be specified."
127
127
}
128
128
}
129
-
Original file line number Diff line number Diff line change 15
15
*/
16
16
17
17
terraform {
18
- required_version = " >= 0.12"
19
- }
20
-
21
- provider "google" {
22
- version = " >= 3.53.0, < 5.0"
23
- }
18
+ required_version = " >= 0.13"
19
+ required_providers {
24
20
25
- provider "google-beta" {
26
- version = " >= 3.53.0, < 5.0"
21
+ google = {
22
+ source = " hashicorp/google"
23
+ version = " >= 3.53.0, < 5.0"
24
+ }
25
+ google-beta = {
26
+ source = " hashicorp/google-beta"
27
+ version = " >= 3.53.0, < 5.0"
28
+ }
29
+ }
27
30
}
Original file line number Diff line number Diff line change @@ -109,7 +109,7 @@ variable "timeout_s" {
109
109
110
110
variable "max_instances" {
111
111
type = number
112
- default = 0
112
+ default = 3000
113
113
description = " The maximum number of parallel executions of the function."
114
114
}
115
115
You can’t perform that action at this time.
0 commit comments