Skip to content

Commit

Permalink
Make TestAccCloudRunV2Job_cloudrunv2JobRunJobExample test beta-onl…
Browse files Browse the repository at this point in the history
…y (#11114) (#7706)

[upstream:ed5ea59cbf5a8cf9ed189a5d24e16b1d595d24da]

Signed-off-by: Modular Magician <[email protected]>
  • Loading branch information
modular-magician authored Jul 10, 2024
1 parent e7ab2e8 commit c359d32
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .changelog/11114.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:none

```
Original file line number Diff line number Diff line change
Expand Up @@ -491,7 +491,7 @@ func TestAccCloudRunV2Job_cloudrunv2JobRunJobExample(t *testing.T) {

acctest.VcrTest(t, resource.TestCase{
PreCheck: func() { acctest.AccTestPreCheck(t) },
ProtoV5ProviderFactories: acctest.ProtoV5ProviderFactories(t),
ProtoV5ProviderFactories: acctest.ProtoV5ProviderBetaFactories(t),
CheckDestroy: testAccCheckCloudRunV2JobDestroyProducer(t),
Steps: []resource.TestStep{
{
Expand All @@ -510,6 +510,7 @@ func TestAccCloudRunV2Job_cloudrunv2JobRunJobExample(t *testing.T) {
func testAccCloudRunV2Job_cloudrunv2JobRunJobExample(context map[string]interface{}) string {
return acctest.Nprintf(`
resource "google_cloud_run_v2_job" "default" {
provider = google-beta
name = "tf-test-cloudrun-job%{random_suffix}"
location = "us-central1"
start_execution_token = "start-once-created"
Expand Down
1 change: 1 addition & 0 deletions website/docs/r/cloud_run_v2_job.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit c359d32

Please sign in to comment.