Skip to content

Commit e8787a8

Browse files
Add independent scaling fields (hyperdisk) to GA (#13949)
1 parent 63bf3ad commit e8787a8

File tree

2 files changed

+2
-12
lines changed

2 files changed

+2
-12
lines changed

mmv1/products/netapp/StoragePool.yaml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ description: |
3535
the next apply. You can trigger a manual
3636
[zone switch](https://cloud.google.com/netapp/volumes/docs/configure-and-use/storage-pools/edit-or-delete-storage-pool#switch_active_and_replica_zones)
3737
via Terraform by swapping the value of the `zone` and `replica_zone` parameters in your HCL code.
38-
Note: Custom Performance FLEX storage pools are supported in beta provider currently.
3938

4039
references:
4140
guides:
@@ -187,14 +186,11 @@ properties:
187186
description: |
188187
Optional. True if using Independent Scaling of capacity and performance (Hyperdisk). Default is false.
189188
immutable: true
190-
min_version: 'beta'
191189
- name: 'totalThroughputMibps'
192190
type: String
193191
description: |
194192
Optional. Custom Performance Total Throughput of the pool (in MiB/s).
195-
min_version: 'beta'
196193
- name: 'totalIops'
197194
type: String
198195
description: |
199196
Optional. Custom Performance Total IOPS of the pool If not provided, it will be calculated based on the totalThroughputMibps
200-
min_version: 'beta'

mmv1/third_party/terraform/services/netapp/resource_netapp_storage_pool_test.go.tmpl

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,6 @@ data "google_compute_network" "default" {
318318
`, context)
319319
}
320320

321-
{{ if ne $.TargetVersionName `ga` -}}
322321
func TestAccNetappStoragePool_customPerformanceStoragePoolCreateExample_update(t *testing.T) {
323322
context := map[string]interface{}{
324323
"network_name": acctest.BootstrapSharedServiceNetworkingConnection(t, "gcnv-network-config-2", acctest.ServiceNetworkWithParentService("netapp.servicenetworking.goog")),
@@ -327,7 +326,7 @@ func TestAccNetappStoragePool_customPerformanceStoragePoolCreateExample_update(t
327326

328327
acctest.VcrTest(t, resource.TestCase{
329328
PreCheck: func() { acctest.AccTestPreCheck(t) },
330-
ProtoV5ProviderFactories: acctest.ProtoV5ProviderBetaFactories(t),
329+
ProtoV5ProviderFactories: acctest.ProtoV5ProviderFactories(t),
331330
CheckDestroy: testAccCheckNetappStoragePoolDestroyProducer(t),
332331
Steps: []resource.TestStep{
333332
{
@@ -355,7 +354,6 @@ func TestAccNetappStoragePool_customPerformanceStoragePoolCreateExample_update(t
355354
func testAccNetappStoragePool_customPerformanceStoragePoolCreateExample_full(context map[string]interface{}) string {
356355
return acctest.Nprintf(`
357356
resource "google_netapp_storage_pool" "test_pool" {
358-
provider = google-beta
359357
name = "tf-test-pool%{random_suffix}"
360358
location = "us-east4-a"
361359
service_level = "FLEX"
@@ -368,7 +366,6 @@ resource "google_netapp_storage_pool" "test_pool" {
368366
}
369367
370368
data "google_compute_network" "default" {
371-
provider = google-beta
372369
name = "%{network_name}"
373370
}
374371
`, context)
@@ -377,7 +374,6 @@ data "google_compute_network" "default" {
377374
func testAccNetappStoragePool_customPerformanceStoragePoolCreateExample_update(context map[string]interface{}) string {
378375
return acctest.Nprintf(`
379376
resource "google_netapp_storage_pool" "test_pool" {
380-
provider = google-beta
381377
name = "tf-test-pool%{random_suffix}"
382378
location = "us-east4-a"
383379
service_level = "FLEX"
@@ -390,9 +386,7 @@ resource "google_netapp_storage_pool" "test_pool" {
390386
}
391387
392388
data "google_compute_network" "default" {
393-
provider = google-beta
394389
name = "%{network_name}"
395390
}
396391
`, context)
397-
}
398-
{{ end }}
392+
}

0 commit comments

Comments
 (0)