-
Notifications
You must be signed in to change notification settings - Fork 4.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New Resource: azurerm_netapp_volume_group_oracle
#28391
Conversation
Co-authored-by: Matthew Frahry <[email protected]>
Co-authored-by: Matthew Frahry <[email protected]>
…export_policy_validation_test.go Co-authored-by: Matthew Frahry <[email protected]>
Co-authored-by: Matthew Frahry <[email protected]>
Co-authored-by: Matthew Frahry <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @paulomarquesc, I think we're there but some of the unit tests you added are failing
Let me check it. |
Resolved. |
Fixed linting issue. |
azurerm_netapp_volume_group_oracle
azurerm_netapp_volume_group_oracle
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
* CHANGELOG.md for v4.19.0 * Update CHANGELOG.md #28523 * Update CHANGELOG.md #28691 * Updated to include #28717 * Update for #26680 * Update CHANGELOG.md #28633 * Update CHANGELOG.md for #28703 * Update CHANGELOG.md for #28391 * Update CHANGELOG.md #28725 * Update #28733 * Update CHANGELOG.md #28659 * Update for #28741 * Update CHANGELOG.md #28712 * Update CHANGELOG.md #28441 * Update CHANGELOG.md #28441 * Update CHANGELOG.md #28441 * Update CHANGELOG.md for #28602 * Update for #27424 * Update CHANGELOG.md for #28524 * Update CHANGELOG.md #28726 * Update for #28767 * Update for #28195 * prep for release v4.19.0 --------- Co-authored-by: sreallymatt <[email protected]> Co-authored-by: Wodans Son <[email protected]> Co-authored-by: stephybun <[email protected]> Co-authored-by: Wyatt Fry <[email protected]> Co-authored-by: Matthew Frahry <[email protected]> Co-authored-by: jackofallops <[email protected]>
* CHANGELOG.md for v4.19.0 * Update CHANGELOG.md hashicorp#28523 * Update CHANGELOG.md hashicorp#28691 * Updated to include hashicorp#28717 * Update for hashicorp#26680 * Update CHANGELOG.md hashicorp#28633 * Update CHANGELOG.md for hashicorp#28703 * Update CHANGELOG.md for hashicorp#28391 * Update CHANGELOG.md hashicorp#28725 * Update hashicorp#28733 * Update CHANGELOG.md hashicorp#28659 * Update for hashicorp#28741 * Update CHANGELOG.md hashicorp#28712 * Update CHANGELOG.md hashicorp#28441 * Update CHANGELOG.md hashicorp#28441 * Update CHANGELOG.md hashicorp#28441 * Update CHANGELOG.md for hashicorp#28602 * Update for hashicorp#27424 * Update CHANGELOG.md for hashicorp#28524 * Update CHANGELOG.md hashicorp#28726 * Update for hashicorp#28767 * Update for hashicorp#28195 * prep for release v4.19.0 --------- Co-authored-by: sreallymatt <[email protected]> Co-authored-by: Wodans Son <[email protected]> Co-authored-by: stephybun <[email protected]> Co-authored-by: Wyatt Fry <[email protected]> Co-authored-by: Matthew Frahry <[email protected]> Co-authored-by: jackofallops <[email protected]>
Community Note
Description
This PR implements a new Azure NetApp Files resource called Volume Group for Oracle.
On top of implementing the new resource
azurerm_netapp_volume_group_oracle
, it also contains the following changes/improvements:azurerm_netapp_volume_group_oracle
- new resource implementation with resource, data source, unit tests, acceptance tests and documentation/examples.azurerm_netapp_volume
- changedVolumesBreakReplicationThenPoll
toVolumesBreakReplication
due to issue LRO Polling fails from time to time pandora#4571azurerm_netapp_volume_quota_rule
- included wait functionwaitForQuotaRuleCreateOrUpdate
to make sure resource completes its updates.azurerm_netapp_volume_group_sap_hana
- case refactored in multiple place to be more consist with golang same is true to the data source code, modified configurationdata_protection_snapshot_policy
forcomputed = true
due to an issue with terraform not properly identifying the deletion graph and ending up trying to delete a snapshot policy before the volumes, causing issues with acceptance tests and resource destruction, this is due to volumes in AVG being listed inside a list. Made a specific function to expand volumes calledexpandNetAppVolumeGroupSAPHanaVolumes
so it can be independent of the Oracle one due to a few major differences.ValidateNetAppVolumeGroupExportPolicyRuleSAPHanna
is now renamed toValidateNetAppVolumeGroupExportPolicyRule
and shared with Oracle AVG.azurerm_netapp_snapshot_policy
- implemented handling for the 409 issue when terraform tries to delete the snapshot policy before the volumes using it are being handled so it can disassociate the volumes from itself before deletion.PR Checklist
Changes to existing Resource / Data Source
Testing
Unit tests execution:
Acceptance tests results:
Acceptance tests retry for the 3 initially failed tests:
Change Log
Below please provide what should go into the changelog (if anything) conforming to the Changelog Format documented here.
azurerm_netapp_volume_group_oracle
- new resourceazurerm_netapp_volume
- changedVolumesBreakReplicationThenPoll
toVolumesBreakReplication
due to issue LRO Polling fails from time to time pandora#4571azurerm_netapp_volume_quota_rule
- included wait functionwaitForQuotaRuleCreateOrUpdate
to make sure resource completes its updates.azurerm_netapp_snapshot_policy
- implemented handling for the 409 issue when terraform tries to delete the snapshot policy before the volumes using it are being handled so it can disassociate the volumes from itself before deletion.This is a (please select all that apply):