Skip to content

Commit 7e16689

Browse files
fix tests for worker pool (#14372) (#10414)
[upstream:f6597ae618cfc952f1a6e864b3d11be696861fb1] Signed-off-by: Modular Magician <[email protected]>
1 parent 331466d commit 7e16689

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

google-beta/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-beta/services/cloudrunv2/resource_cloud_run_v2_worker_pool_test.go

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -573,12 +573,11 @@ resource "google_cloud_run_v2_worker_pool" "default" {
573573
description = "description creating"
574574
location = "us-central1"
575575
deletion_protection = false
576-
launch_stage = "ALPHA"
576+
launch_stage = "BETA"
577577
annotations = {
578578
generated-by = "magic-modules"
579579
}
580580
scaling {
581-
scaling_mode = "MANUAL"
582581
manual_instance_count = 5
583582
}
584583
@@ -613,9 +612,8 @@ resource "google_cloud_run_v2_worker_pool" "default" {
613612
}
614613
client = "client-1"
615614
client_version = "client-version-1"
616-
launch_stage = "ALPHA"
615+
launch_stage = "BETA"
617616
scaling {
618-
scaling_mode = "MANUAL"
619617
manual_instance_count = 2
620618
}
621619
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)