Skip to content

Commit 8f32217

Browse files
authored
fix: update function_max_instances to null default (#106)
1 parent 65b0bb9 commit 8f32217

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ Then perform the following commands on the root folder:
4646
| function\_environment\_variables | A set of key/value environment variable pairs to assign to the function. | `map(string)` | `{}` | no |
4747
| function\_event\_trigger\_failure\_policy\_retry | A toggle to determine if the function should be retried on failure. | `bool` | `false` | no |
4848
| function\_labels | A set of key/value label pairs to assign to the function. | `map(string)` | `{}` | no |
49-
| function\_max\_instances | The maximum number of parallel executions of the function. | `number` | `0` | no |
49+
| function\_max\_instances | The maximum number of parallel executions of the function. | `number` | `null` | no |
5050
| function\_name | The name to apply to the function | `string` | n/a | yes |
5151
| function\_runtime | The runtime in which the function will be executed. | `string` | `"nodejs10"` | no |
5252
| function\_service\_account\_email | The service account to run the function as. | `string` | `""` | no |

test/setup/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
module "project" {
1818
source = "terraform-google-modules/project-factory/google"
19-
version = "~> 10.2"
19+
version = "~> 14"
2020

2121
name = "ci-scheduled-function"
2222
random_project_id = "true"

variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ variable "function_service_account_email" {
112112

113113
variable "function_max_instances" {
114114
type = number
115-
default = 0
115+
default = null
116116
description = "The maximum number of parallel executions of the function."
117117
}
118118

0 commit comments

Comments
 (0)