Skip to content

Commit c359d32

Browse files
Make TestAccCloudRunV2Job_cloudrunv2JobRunJobExample test beta-only (#11114) (#7706)
[upstream:ed5ea59cbf5a8cf9ed189a5d24e16b1d595d24da] Signed-off-by: Modular Magician <[email protected]>
1 parent e7ab2e8 commit c359d32

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

.changelog/11114.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
```release-note:none
2+
3+
```

google-beta/services/cloudrunv2/resource_cloud_run_v2_job_generated_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -491,7 +491,7 @@ func TestAccCloudRunV2Job_cloudrunv2JobRunJobExample(t *testing.T) {
491491

492492
acctest.VcrTest(t, resource.TestCase{
493493
PreCheck: func() { acctest.AccTestPreCheck(t) },
494-
ProtoV5ProviderFactories: acctest.ProtoV5ProviderFactories(t),
494+
ProtoV5ProviderFactories: acctest.ProtoV5ProviderBetaFactories(t),
495495
CheckDestroy: testAccCheckCloudRunV2JobDestroyProducer(t),
496496
Steps: []resource.TestStep{
497497
{
@@ -510,6 +510,7 @@ func TestAccCloudRunV2Job_cloudrunv2JobRunJobExample(t *testing.T) {
510510
func testAccCloudRunV2Job_cloudrunv2JobRunJobExample(context map[string]interface{}) string {
511511
return acctest.Nprintf(`
512512
resource "google_cloud_run_v2_job" "default" {
513+
provider = google-beta
513514
name = "tf-test-cloudrun-job%{random_suffix}"
514515
location = "us-central1"
515516
start_execution_token = "start-once-created"

website/docs/r/cloud_run_v2_job.html.markdown

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -349,6 +349,7 @@ resource "google_cloud_run_v2_job" "default" {
349349

350350
```hcl
351351
resource "google_cloud_run_v2_job" "default" {
352+
provider = google-beta
352353
name = "cloudrun-job"
353354
location = "us-central1"
354355
start_execution_token = "start-once-created"

0 commit comments

Comments
 (0)