Skip to content

Commit

Permalink
Make `TestAccDataprocMetastoreService_dataprocMetastoreServiceAutosca…
Browse files Browse the repository at this point in the history
…lingNoLimitConfigExample` beta-only (#11111) (#7707)

[upstream:19e0c3ede2b509b767d13ae4eac4635eabbbb056]

Signed-off-by: Modular Magician <[email protected]>
  • Loading branch information
modular-magician authored Jul 10, 2024
1 parent c359d32 commit 78f016d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .changelog/11111.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 @@ -652,7 +652,7 @@ func TestAccDataprocMetastoreService_dataprocMetastoreServiceAutoscalingNoLimitC

acctest.VcrTest(t, resource.TestCase{
PreCheck: func() { acctest.AccTestPreCheck(t) },
ProtoV5ProviderFactories: acctest.ProtoV5ProviderFactories(t),
ProtoV5ProviderFactories: acctest.ProtoV5ProviderBetaFactories(t),
CheckDestroy: testAccCheckDataprocMetastoreServiceDestroyProducer(t),
Steps: []resource.TestStep{
{
Expand All @@ -671,6 +671,7 @@ func TestAccDataprocMetastoreService_dataprocMetastoreServiceAutoscalingNoLimitC
func testAccDataprocMetastoreService_dataprocMetastoreServiceAutoscalingNoLimitConfigExample(context map[string]interface{}) string {
return acctest.Nprintf(`
resource "google_dataproc_metastore_service" "test_resource" {
provider = google-beta
service_id = "tf-test-test-service%{random_suffix}"
location = "us-central1"
Expand Down
1 change: 1 addition & 0 deletions website/docs/r/dataproc_metastore_service.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -353,6 +353,7 @@ resource "google_dataproc_metastore_service" "test_resource" {

```hcl
resource "google_dataproc_metastore_service" "test_resource" {
provider = google-beta
service_id = "test-service"
location = "us-central1"
Expand Down

0 comments on commit 78f016d

Please sign in to comment.