Skip to content

Commit 46261ea

Browse files
fix tests for worker pool (#14372) (#23730)
[upstream:f6597ae618cfc952f1a6e864b3d11be696861fb1] Signed-off-by: Modular Magician <[email protected]>
1 parent 3230d7c commit 46261ea

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

google/services/cloudrunv2/resource_cloud_run_v2_worker_pool_generated_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -324,6 +324,7 @@ resource "google_cloud_run_v2_worker_pool" "default" {
324324
node_selector {
325325
accelerator = "nvidia-l4"
326326
}
327+
gpu_zonal_redundancy_disabled = true
327328
}
328329
}
329330
`, context)

google/services/cloudrunv2/resource_cloud_run_v2_worker_pool_test.go

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -572,12 +572,11 @@ resource "google_cloud_run_v2_worker_pool" "default" {
572572
description = "description creating"
573573
location = "us-central1"
574574
deletion_protection = false
575-
launch_stage = "ALPHA"
575+
launch_stage = "BETA"
576576
annotations = {
577577
generated-by = "magic-modules"
578578
}
579579
scaling {
580-
scaling_mode = "MANUAL"
581580
manual_instance_count = 5
582581
}
583582
@@ -612,9 +611,8 @@ resource "google_cloud_run_v2_worker_pool" "default" {
612611
}
613612
client = "client-1"
614613
client_version = "client-version-1"
615-
launch_stage = "ALPHA"
614+
launch_stage = "BETA"
616615
scaling {
617-
scaling_mode = "MANUAL"
618616
manual_instance_count = 2
619617
}
620618
template {

website/docs/r/cloud_run_v2_worker_pool.html.markdown

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -225,6 +225,7 @@ resource "google_cloud_run_v2_worker_pool" "default" {
225225
node_selector {
226226
accelerator = "nvidia-l4"
227227
}
228+
gpu_zonal_redundancy_disabled = true
228229
}
229230
}
230231
```

0 commit comments

Comments
 (0)