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: modules/v2/README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -68,7 +68,7 @@ Functional examples are included in the
68
68
| timeout | Max allowed time for an instance to respond to a request. A duration in seconds with up to nine fractional digits, ending with 's' |`string`|`null`| no |
69
69
| traffic | Specifies how to distribute traffic over a collection of Revisions belonging to the Service. If traffic is empty or not provided, defaults to 100% traffic to the latest Ready Revision. | <pre>list(object({<br> type = optional(string, "TRAFFIC_TARGET_ALLOCATION_TYPE_LATEST")<br> percent = optional(number, 100)<br> revision = optional(string, null)<br> tag = optional(string, null)<br> }))</pre> |`[]`| no |
| vpc\_access |VPC Access configuration to use for this Task, egress value should be either ALL\_TRAFFIC or PRIVATE\_RANGES\_ONLY. For more information, visithttps://cloud.google.com/run/docs/configuring/connecting-vpc| <pre>object({<br> connector = optional(string)<br> egress = optional(string)<br> network_interfaces = optional(object({<br> network = optional(string)<br> subnetwork = optional(string)<br> tags = optional(list(string))<br> }))<br> })</pre> |`null`| no |
71
+
| vpc\_access |Configure this to enable your service to send traffic to a Virtual Private Cloud. Set egress to ALL\_TRAFFIC or PRIVATE\_RANGES\_ONLY. Choose a connector or network\_interfaces (for direct VPC egress). For details:https://cloud.google.com/run/docs/configuring/connecting-vpc| <pre>object({<br> connector = optional(string)<br> egress = optional(string)<br> network_interfaces = optional(object({<br> network = optional(string)<br> subnetwork = optional(string)<br> tags = optional(list(string))<br> }))<br> })</pre> |`null`| no |
validation: Invalid connector name. It must be in the format projects/{project}/locations/{location}/connectors/{connector}
190
+
network_interfaces:
191
+
name: network_interfaces
192
+
title: Network Interfaces
193
+
subtext: Direct VPC egress settings. Currently only single network interface is supported.
194
+
toggleUsingVariables:
195
+
- variableName: vpc_access.connector
196
+
properties:
197
+
network:
198
+
name: network
199
+
title: Network
200
+
subtext: The VPC network that the Cloud Run resource will be able to send traffic to.
201
+
subnetwork:
202
+
name: subnetwork
203
+
title: Subnetwork
204
+
subtext: The VPC subnetwork that the Cloud Run resource will get IPs from. At least one of network or subnetwork must be specified. If both network and subnetwork are specified, the given VPC subnetwork must belong to the given VPC network. If subnetwork is not specified, the subnetwork with the same name with the network will be used.
Copy file name to clipboardExpand all lines: modules/v2/metadata.yaml
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -266,12 +266,16 @@ spec:
266
266
version: ">= 0.1.0"
267
267
spec:
268
268
outputExpr: "[\"roles/bigtable.admin\"]"
269
+
- name: ingress
270
+
description: Provides the ingress settings for this Service. On output, returns the currently observed ingress settings, or INGRESS_TRAFFIC_UNSPECIFIED if no revision is active.
271
+
varType: string
272
+
defaultValue: INGRESS_TRAFFIC_ALL
269
273
- name: members
270
274
description: "Users/SAs to be given invoker access to the service. Grant invoker access by specifying the users or service accounts (SAs). Use allUsers for public access, allAuthenticatedUsers for access by logged-in Google users, or provide a list of specific users/SAs. See the complete list of available options: https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/cloud_run_v2_service_iam#member\\/members-1"
271
275
varType: list(string)
272
276
defaultValue: []
273
277
- name: vpc_access
274
-
description: VPC Access configuration to use for this Task, egress value should be either ALL_TRAFFIC or PRIVATE_RANGES_ONLY. For more information, visit https://cloud.google.com/run/docs/configuring/connecting-vpc
278
+
description: "Configure this to enable your service to send traffic to a Virtual Private Cloud. Set egress to ALL_TRAFFIC or PRIVATE_RANGES_ONLY. Choose a connector or network_interfaces (for direct VPC egress). For details: https://cloud.google.com/run/docs/configuring/connecting-vpc"
275
279
varType: |-
276
280
object({
277
281
connector = optional(string)
@@ -386,10 +390,6 @@ spec:
386
390
version = optional(string, null)
387
391
})
388
392
defaultValue: {}
389
-
- name: ingress
390
-
description: Provides the ingress settings for this Service. On output, returns the currently observed ingress settings, or INGRESS_TRAFFIC_UNSPECIFIED if no revision is active.
391
-
varType: string
392
-
defaultValue: INGRESS_TRAFFIC_ALL
393
393
- name: launch_stage
394
394
description: The launch stage as defined by Google Cloud Platform Launch Stages. Cloud Run supports ALPHA, BETA, and GA. If no value is specified, GA is assumed.
description="Provides the ingress settings for this Service. On output, returns the currently observed ingress settings, or INGRESS_TRAFFIC_UNSPECIFIED if no revision is active."
error_message="Allowed values for ingress are \"INGRESS_TRAFFIC_ALL\", \"INGRESS_TRAFFIC_INTERNAL_ONLY\", or \"INGRESS_TRAFFIC_INTERNAL_LOAD_BALANCER\"."
135
+
}
136
+
}
137
+
127
138
variable"members" {
128
139
type=list(string)
129
140
description="Users/SAs to be given invoker access to the service. Grant invoker access by specifying the users or service accounts (SAs). Use allUsers for public access, allAuthenticatedUsers for access by logged-in Google users, or provide a list of specific users/SAs. See the complete list of available options: https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/cloud_run_v2_service_iam#member\\/members-1"
@@ -140,7 +151,7 @@ variable "vpc_access" {
140
151
tags =optional(list(string))
141
152
}))
142
153
})
143
-
description="VPC Access configuration to use for this Task, egress value should be either ALL_TRAFFIC or PRIVATE_RANGES_ONLY. For more information, visit https://cloud.google.com/run/docs/configuring/connecting-vpc"
154
+
description="Configure this to enable your service to send traffic to a Virtual Private Cloud. Set egress to ALL_TRAFFIC or PRIVATE_RANGES_ONLY. Choose a connector or network_interfaces (for direct VPC egress). For details: https://cloud.google.com/run/docs/configuring/connecting-vpc"
144
155
default=null
145
156
}
146
157
@@ -230,17 +241,6 @@ variable "client" {
230
241
default={}
231
242
}
232
243
233
-
variable"ingress" {
234
-
type=string
235
-
description="Provides the ingress settings for this Service. On output, returns the currently observed ingress settings, or INGRESS_TRAFFIC_UNSPECIFIED if no revision is active."
error_message="Allowed values for ingress are \"INGRESS_TRAFFIC_ALL\", \"INGRESS_TRAFFIC_INTERNAL_ONLY\", or \"INGRESS_TRAFFIC_INTERNAL_LOAD_BALANCER\"."
241
-
}
242
-
}
243
-
244
244
variable"launch_stage" {
245
245
type=string
246
246
description="The launch stage as defined by Google Cloud Platform Launch Stages. Cloud Run supports ALPHA, BETA, and GA. If no value is specified, GA is assumed."
0 commit comments