Skip to content

Commit d87620a

Browse files
add nfs support to cloudrun v2 jobs in beta (#10220) (#17732)
[upstream:ddf25605fc2a7c763a9e57c891223c20bfe45171] Signed-off-by: Modular Magician <[email protected]>
1 parent 1e4efa3 commit d87620a

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-0
lines changed

.changelog/10220.txt

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
```release-note:enhancement
2+
cloudrunv2: added `template.volumes.nfs` field to `google_cloud_run_v2_job` resource (beta)
3+
```

website/docs/r/cloud_run_v2_job.html.markdown

+19
Original file line numberDiff line numberDiff line change
@@ -561,6 +561,11 @@ The following arguments are supported:
561561
Cloud Storage bucket mounted as a volume using GCSFuse. This feature requires the launch stage to be set to ALPHA or BETA.
562562
Structure is [documented below](#nested_gcs).
563563

564+
* `nfs` -
565+
(Optional, [Beta](https://terraform.io/docs/providers/google/guides/provider_versions.html))
566+
NFS share mounted as a volume. This feature requires the launch stage to be set to ALPHA or BETA.
567+
Structure is [documented below](#nested_nfs).
568+
564569

565570
<a name="nested_secret"></a>The `secret` block supports:
566571

@@ -620,6 +625,20 @@ The following arguments are supported:
620625
(Optional)
621626
If true, mount this volume as read-only in all mounts. If false, mount this volume as read-write.
622627

628+
<a name="nested_nfs"></a>The `nfs` block supports:
629+
630+
* `server` -
631+
(Required)
632+
Hostname or IP address of the NFS server.
633+
634+
* `path` -
635+
(Optional)
636+
Path that is exported by the NFS server.
637+
638+
* `read_only` -
639+
(Optional)
640+
If true, mount this volume as read-only in all mounts.
641+
623642
<a name="nested_vpc_access"></a>The `vpc_access` block supports:
624643

625644
* `connector` -

0 commit comments

Comments
 (0)