diff --git a/.changelog/11114.txt b/.changelog/11114.txt new file mode 100644 index 00000000000..42b910df155 --- /dev/null +++ b/.changelog/11114.txt @@ -0,0 +1,3 @@ +```release-note:none + +``` \ No newline at end of file diff --git a/google/services/cloudrunv2/resource_cloud_run_v2_job_generated_test.go b/google/services/cloudrunv2/resource_cloud_run_v2_job_generated_test.go index b14813a27a9..1e84c2e0d1e 100644 --- a/google/services/cloudrunv2/resource_cloud_run_v2_job_generated_test.go +++ b/google/services/cloudrunv2/resource_cloud_run_v2_job_generated_test.go @@ -428,48 +428,6 @@ resource "google_secret_manager_secret_iam_member" "secret-access" { `, context) } -func TestAccCloudRunV2Job_cloudrunv2JobRunJobExample(t *testing.T) { - t.Parallel() - - context := map[string]interface{}{ - "random_suffix": acctest.RandString(t, 10), - } - - acctest.VcrTest(t, resource.TestCase{ - PreCheck: func() { acctest.AccTestPreCheck(t) }, - ProtoV5ProviderFactories: acctest.ProtoV5ProviderFactories(t), - CheckDestroy: testAccCheckCloudRunV2JobDestroyProducer(t), - Steps: []resource.TestStep{ - { - Config: testAccCloudRunV2Job_cloudrunv2JobRunJobExample(context), - }, - { - ResourceName: "google_cloud_run_v2_job.default", - ImportState: true, - ImportStateVerify: true, - ImportStateVerifyIgnore: []string{"annotations", "labels", "location", "name", "terraform_labels"}, - }, - }, - }) -} - -func testAccCloudRunV2Job_cloudrunv2JobRunJobExample(context map[string]interface{}) string { - return acctest.Nprintf(` -resource "google_cloud_run_v2_job" "default" { - name = "tf-test-cloudrun-job%{random_suffix}" - location = "us-central1" - start_execution_token = "start-once-created" - template { - template { - containers { - image = "us-docker.pkg.dev/cloudrun/container/job" - } - } - } -} -`, context) -} - func testAccCheckCloudRunV2JobDestroyProducer(t *testing.T) func(s *terraform.State) error { return func(s *terraform.State) error { for name, rs := range s.RootModule().Resources { diff --git a/website/docs/r/cloud_run_v2_job.html.markdown b/website/docs/r/cloud_run_v2_job.html.markdown index 2ce12729f67..aa21399c112 100644 --- a/website/docs/r/cloud_run_v2_job.html.markdown +++ b/website/docs/r/cloud_run_v2_job.html.markdown @@ -349,6 +349,7 @@ resource "google_cloud_run_v2_job" "default" { ```hcl resource "google_cloud_run_v2_job" "default" { + provider = google-beta name = "cloudrun-job" location = "us-central1" start_execution_token = "start-once-created"