Skip to content
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

[ANF] Standard Network Feature #17043

Merged
merged 14 commits into from
Jun 2, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Updated ANF SDK version, adding resource_group prevent deletion to be…
… off
paulomarquesc committed May 12, 2022
commit ad2111b38666fe217ccecca26f37ea18c6e77616
Original file line number Diff line number Diff line change
@@ -8,7 +8,7 @@ import (
"strings"
"time"

"github.com/Azure/azure-sdk-for-go/services/netapp/mgmt/2021-06-01/netapp"
"github.com/Azure/azure-sdk-for-go/services/netapp/mgmt/2021-10-01/netapp"
"github.com/hashicorp/terraform-provider-azurerm/helpers/azure"
"github.com/hashicorp/terraform-provider-azurerm/helpers/tf"
"github.com/hashicorp/terraform-provider-azurerm/internal/clients"
9 changes: 9 additions & 0 deletions internal/services/netapp/netapp_volume_data_source_test.go
Original file line number Diff line number Diff line change
@@ -34,6 +34,15 @@ func (NetAppVolumeDataSource) basic(data acceptance.TestData) string {
return fmt.Sprintf(`
%s

provider "azurerm" {
alias = "all"
features {
resource_group {
prevent_deletion_if_contains_resources = false
}
}
}

data "azurerm_netapp_volume" "test" {
resource_group_name = azurerm_netapp_volume.test.resource_group_name
account_name = azurerm_netapp_volume.test.account_name