Skip to content

depricated scaleTier and added a new field scaleType#16922

Open
raazanand wants to merge 11 commits intoGoogleCloudPlatform:mainfrom
raazanand:large_volume_netapp
Open

depricated scaleTier and added a new field scaleType#16922
raazanand wants to merge 11 commits intoGoogleCloudPlatform:mainfrom
raazanand:large_volume_netapp

Conversation

@raazanand
Copy link
Copy Markdown
Contributor

@raazanand raazanand commented Apr 3, 2026

netapp: added `scaleType` field to `google_netapp_storage_pool` resource

This commit introduces the ability to specify a scale type for NetApp Storage Pools.

Changes include:

  • StoragePool.yaml:
    • Added scaleType enum field to google_netapp_storage_pool. The scale type of the storage pool. Defaults to SCALE_TYPE_DEFAULT if not specified.
netapp: deprecated `scaleTier` field in `google_netapp_storage_pool` resource

@raazanand raazanand marked this pull request as draft April 3, 2026 14:14
@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 3, 2026

Googlers: For automatic test runs see go/terraform-auto-test-runs.

@c2thorn, a repository maintainer, has been assigned to review your changes. If you have not received review feedback within 2 business days, please leave a comment on this PR asking them to take a look.

You can help make sure that review is quick by doing a self-review and by running impacted tests locally.

@modular-magician
Copy link
Copy Markdown
Collaborator

Hi there, I'm the Modular magician. I've detected the following information about your changes:

Diff report

Your PR generated some diffs in downstreams - here they are.

google provider: Diff ( 1 file changed, 9 insertions(+), 1 deletion(-))
google-beta provider: Diff ( 5 files changed, 232 insertions(+), 6 deletions(-))
terraform-google-conversion: Diff ( 3 files changed, 17 insertions(+), 1 deletion(-))

@modular-magician
Copy link
Copy Markdown
Collaborator

Tests analytics

Total tests: 42
Passed tests: 39
Skipped tests: 0
Affected tests: 3

Click here to see the affected service packages
  • netapp

Action taken

Found 3 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected tests
  • TestAccNetappStoragePool_ScaleTypeEnterprise
  • TestAccNetappVolume_LargeCapacityScaleTierConfig
  • TestAccNetappVolume_LargeCapacityScaleTypeConfig

Get to know how VCR tests work

@modular-magician
Copy link
Copy Markdown
Collaborator

🟢 Tests passed during RECORDING mode:
TestAccNetappStoragePool_ScaleTypeEnterprise [Debug log]

🟢 No issues found for passed tests after REPLAYING rerun.


🔴 Tests failed during RECORDING mode:
TestAccNetappVolume_LargeCapacityScaleTierConfig [Error message] [Debug log]
TestAccNetappVolume_LargeCapacityScaleTypeConfig [Error message] [Debug log]

🔴 Errors occurred during RECORDING mode. Please fix them to complete your PR.

View the build log or the debug log for each test

@modular-magician
Copy link
Copy Markdown
Collaborator

Hi there, I'm the Modular magician. I've detected the following information about your changes:

Diff report

Your PR generated some diffs in downstreams - here they are.

google provider: Diff ( 1 file changed, 9 insertions(+), 1 deletion(-))
google-beta provider: Diff ( 5 files changed, 232 insertions(+), 6 deletions(-))
terraform-google-conversion: Diff ( 3 files changed, 17 insertions(+), 1 deletion(-))

@modular-magician
Copy link
Copy Markdown
Collaborator

Tests analytics

Total tests: 42
Passed tests: 40
Skipped tests: 0
Affected tests: 2

Click here to see the affected service packages
  • netapp

Action taken

Found 2 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected tests
  • TestAccNetappVolume_LargeCapacityScaleTierConfig
  • TestAccNetappVolume_LargeCapacityScaleTypeConfig

Get to know how VCR tests work

@modular-magician
Copy link
Copy Markdown
Collaborator

🟢 Tests passed during RECORDING mode:
TestAccNetappVolume_LargeCapacityScaleTierConfig [Debug log]

🟢 No issues found for passed tests after REPLAYING rerun.


🔴 Tests failed during RECORDING mode:
TestAccNetappVolume_LargeCapacityScaleTypeConfig [Error message] [Debug log]

🔴 Errors occurred during RECORDING mode. Please fix them to complete your PR.

View the build log or the debug log for each test

@modular-magician
Copy link
Copy Markdown
Collaborator

Hi there, I'm the Modular magician. I've detected the following information about your changes:

Diff report

Your PR generated some diffs in downstreams - here they are.

google provider: Diff ( 1 file changed, 9 insertions(+), 1 deletion(-))
google-beta provider: Diff ( 5 files changed, 232 insertions(+), 6 deletions(-))
terraform-google-conversion: Diff ( 3 files changed, 17 insertions(+), 1 deletion(-))

@modular-magician
Copy link
Copy Markdown
Collaborator

Tests analytics

Total tests: 42
Passed tests: 41
Skipped tests: 0
Affected tests: 1

Click here to see the affected service packages
  • netapp

Action taken

Found 1 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected tests
  • TestAccNetappVolume_LargeCapacityScaleTypeConfig

Get to know how VCR tests work

@modular-magician
Copy link
Copy Markdown
Collaborator

🔴 Tests failed during RECORDING mode:
TestAccNetappVolume_LargeCapacityScaleTypeConfig [Error message] [Debug log]

🔴 Errors occurred during RECORDING mode. Please fix them to complete your PR.

View the build log or the debug log for each test

@modular-magician
Copy link
Copy Markdown
Collaborator

Hi there, I'm the Modular magician. I've detected the following information about your changes:

Diff report

Your PR generated some diffs in downstreams - here they are.

google provider: Diff ( 1 file changed, 9 insertions(+), 1 deletion(-))
google-beta provider: Diff ( 5 files changed, 232 insertions(+), 6 deletions(-))
terraform-google-conversion: Diff ( 3 files changed, 17 insertions(+), 1 deletion(-))

@modular-magician
Copy link
Copy Markdown
Collaborator

Tests analytics

Total tests: 42
Passed tests: 41
Skipped tests: 0
Affected tests: 1

Click here to see the affected service packages
  • netapp

Action taken

Found 1 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected tests
  • TestAccNetappVolume_LargeCapacityScaleTypeConfig

Get to know how VCR tests work

@modular-magician
Copy link
Copy Markdown
Collaborator

🟢 Tests passed during RECORDING mode:
TestAccNetappVolume_LargeCapacityScaleTypeConfig [Debug log]

🟢 No issues found for passed tests after REPLAYING rerun.


🟢 All tests passed!

View the build log or the debug log for each test

@modular-magician
Copy link
Copy Markdown
Collaborator

Hi there, I'm the Modular magician. I've detected the following information about your changes:

Diff report

Your PR generated some diffs in downstreams - here they are.

google provider: Diff ( 5 files changed, 226 insertions(+), 1 deletion(-))
google-beta provider: Diff ( 5 files changed, 232 insertions(+), 6 deletions(-))
terraform-google-conversion: Diff ( 6 files changed, 45 insertions(+), 2 deletions(-))

@modular-magician
Copy link
Copy Markdown
Collaborator

Hi there, I'm the Modular magician. I've detected the following information about your changes:

Diff report

Your PR generated some diffs in downstreams - here they are.

google provider: Diff ( 5 files changed, 226 insertions(+), 1 deletion(-))
google-beta provider: Diff ( 5 files changed, 237 insertions(+), 11 deletions(-))
terraform-google-conversion: Diff ( 6 files changed, 45 insertions(+), 2 deletions(-))

@modular-magician
Copy link
Copy Markdown
Collaborator

Non-exercised tests

🔴 Tests were added that are skipped in VCR:

  • TestAccNetappStoragePool_ScaleTier
  • TestAccNetappStoragePool_ScaleType
  • TestAccNetappVolume_LargeCapacityScaleTierConfig
  • TestAccNetappVolume_LargeCapacityScaleTypeConfig

Tests analytics

Total tests: 0
Passed tests: 0
Skipped tests: 0
Affected tests: 0

Click here to see the affected service packages
  • netapp

🔴 Errors occurred during REPLAYING mode. Please fix them to complete your PR.

View the build log

@modular-magician
Copy link
Copy Markdown
Collaborator

Non-exercised tests

🔴 Tests were added that are skipped in VCR:

  • TestAccNetappStoragePool_ScaleTier
  • TestAccNetappStoragePool_ScaleType
  • TestAccNetappVolume_LargeCapacityScaleTierConfig
  • TestAccNetappVolume_LargeCapacityScaleTypeConfig

Tests analytics

Total tests: 0
Passed tests: 0
Skipped tests: 0
Affected tests: 0

Click here to see the affected service packages
  • netapp

🔴 Errors occurred during REPLAYING mode. Please fix them to complete your PR.

View the build log

@modular-magician
Copy link
Copy Markdown
Collaborator

Hi there, I'm the Modular magician. I've detected the following information about your changes:

Diff report

Your PR generated some diffs in downstreams - here they are.

google provider: Diff ( 5 files changed, 224 insertions(+), 1 deletion(-))
google-beta provider: Diff ( 5 files changed, 235 insertions(+), 11 deletions(-))
terraform-google-conversion: Diff ( 6 files changed, 44 insertions(+), 2 deletions(-))

@modular-magician
Copy link
Copy Markdown
Collaborator

Non-exercised tests

🔴 Tests were added that are skipped in VCR:

  • TestAccNetappStoragePool_ScaleTier
  • TestAccNetappStoragePool_ScaleType
  • TestAccNetappVolume_LargeCapacityScaleTierConfig
  • TestAccNetappVolume_LargeCapacityScaleTypeConfig

Tests analytics

Total tests: 0
Passed tests: 0
Skipped tests: 0
Affected tests: 0

Click here to see the affected service packages
  • netapp

🔴 Errors occurred during REPLAYING mode. Please fix them to complete your PR.

View the build log

@modular-magician
Copy link
Copy Markdown
Collaborator

Hi there, I'm the Modular magician. I've detected the following information about your changes:

Diff report

Your PR generated some diffs in downstreams - here they are.

google provider: Diff ( 5 files changed, 224 insertions(+), 1 deletion(-))
google-beta provider: Diff ( 5 files changed, 235 insertions(+), 11 deletions(-))
terraform-google-conversion: Diff ( 6 files changed, 41 insertions(+), 2 deletions(-))

@modular-magician
Copy link
Copy Markdown
Collaborator

Tests analytics

Total tests: 42
Passed tests: 40
Skipped tests: 0
Affected tests: 2

Click here to see the affected service packages
  • netapp

Action taken

Found 2 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected tests
  • TestAccNetappStoragePool_ScaleTier
  • TestAccNetappStoragePool_ScaleType

Get to know how VCR tests work

@modular-magician
Copy link
Copy Markdown
Collaborator

🟢 Tests passed during RECORDING mode:
TestAccNetappStoragePool_ScaleTier [Debug log]
TestAccNetappStoragePool_ScaleType [Debug log]

🟢 No issues found for passed tests after REPLAYING rerun.


🟢 All tests passed!

View the build log or the debug log for each test

@raazanand raazanand marked this pull request as ready for review April 5, 2026 05:52
description: |
The scale type of the storage pool. Defaults to `SCALE_TYPE_DEFAULT` if not specified.
enum_values:
- 'SCALE_TYPE_UNSPECIFIED'
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For consistency with other enums in netapp_storage_pool, I am keeping SCALE_TYPE_UNSPECIFIED.

#ref: #16473 (comment)

Copy link
Copy Markdown
Member

@c2thorn c2thorn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks like a merge conflict needs to be resolved. LGTM otherwise.

Co-authored-by: Cameron Thornton <camthornton@google.com>
@github-actions github-actions bot requested a review from c2thorn April 7, 2026 03:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants