Skip to content

Commit

Permalink
Adds grpc field to startup_probe and liveness_probe in `google_…
Browse files Browse the repository at this point in the history
…cloud_run_service` beta resource (#6781) (#12991)

Signed-off-by: Modular Magician <magic-modules@google.com>

Signed-off-by: Modular Magician <magic-modules@google.com>
  • Loading branch information
modular-magician committed Nov 9, 2022
1 parent 99a7f5a commit a29023d
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .changelog/6781.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:enhancement
cloudrun: added field `liveness_probe.grpc` and `startup_probe.grpc` to resource `google_cloud_run_service` (beta)
```
34 changes: 34 additions & 0 deletions website/docs/r/cloud_run_service.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -618,6 +618,11 @@ The following arguments are supported:
HttpGet specifies the http request to perform.
Structure is [documented below](#nested_http_get).

* `grpc` -
(Optional)
GRPC specifies an action involving a GRPC port.
Structure is [documented below](#nested_grpc).


<a name="nested_tcp_socket"></a>The `tcp_socket` block supports:

Expand Down Expand Up @@ -647,6 +652,18 @@ The following arguments are supported:
(Optional)
The header field value.

<a name="nested_grpc"></a>The `grpc` block supports:

* `port` -
(Optional)
Port number to access on the container. Number must be in the range 1 to 65535.

* `service` -
(Optional)
The name of the service to place in the gRPC HealthCheckRequest
(see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).
If this is not specified, the default behavior is defined by gRPC.

<a name="nested_liveness_probe"></a>The `liveness_probe` block supports:

* `initial_delay_seconds` -
Expand Down Expand Up @@ -676,6 +693,11 @@ The following arguments are supported:
HttpGet specifies the http request to perform.
Structure is [documented below](#nested_http_get).

* `grpc` -
(Optional)
GRPC specifies an action involving a GRPC port.
Structure is [documented below](#nested_grpc).


<a name="nested_http_get"></a>The `http_get` block supports:

Expand All @@ -699,6 +721,18 @@ The following arguments are supported:
(Optional)
The header field value.

<a name="nested_grpc"></a>The `grpc` block supports:

* `port` -
(Optional)
Port number to access on the container. Number must be in the range 1 to 65535.

* `service` -
(Optional)
The name of the service to place in the gRPC HealthCheckRequest
(see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).
If this is not specified, the default behavior is defined by gRPC.

<a name="nested_volumes"></a>The `volumes` block supports:

* `name` -
Expand Down

0 comments on commit a29023d

Please sign in to comment.