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
Copy file name to clipboardExpand all lines: terraform/modules/run-service/variables.tf
+4-20Lines changed: 4 additions & 20 deletions
Original file line number
Diff line number
Diff line change
@@ -5,19 +5,16 @@ variable "region" {
5
5
variable"environment" {
6
6
description="The 'Environment' that is being created/deployed. Applied as a suffix to many resources."
7
7
type=string
8
+
default="dev"
8
9
}
9
10
variable"source_directory" {
10
11
description="The folder of the package containing function that will be executed when the Google Cloud Function is triggered!"
11
12
type=string
12
13
}
13
-
variable"function_name" {
14
+
variable"service_name" {
14
15
description="Optional: Can be used to create more than function from the same package"
15
16
type=string
16
17
}
17
-
variable"entry_point" {
18
-
description="The entry point; This is either what is registered with 'http' or exported from the code as a handler!"
19
-
type=string
20
-
}
21
18
variable"available_memory_gb" {
22
19
default="2Gi"
23
20
type=string
@@ -28,19 +25,10 @@ variable "available_cpu" {
28
25
type=string
29
26
description="The amount of CPU for the Cloud Function"
30
27
}
31
-
variable"ingress_settings" {
32
-
type=string
33
-
default="INGRESS_TRAFFIC_INTERNAL_LOAD_BALANCER"
34
-
description="String value that controls what traffic can reach the function. Allowed values are ALLOW_ALL, ALLOW_INTERNAL_AND_GCLB and ALLOW_INTERNAL_ONLY. Check ingress documentation to see the impact of each settings value. Changes to this field will recreate the cloud function."
35
-
}
36
-
variable"vpc_connector_egress_settings" {
37
-
type=string
38
-
default=null
39
-
description="The egress settings for the connector, controlling what traffic is diverted through it. Allowed values are ALL_TRAFFIC and PRIVATE_RANGES_ONLY. Defaults to PRIVATE_RANGES_ONLY. If unset, this field preserves the previously set value."
40
-
}
41
28
variable"project" {
42
29
description="The ID of the project in which the resource belongs. If it is not provided, the provider project is used."
0 commit comments