Skip to content

Commit

Permalink
azurerm_site_recovery_replicated_vm - update disks sdk (#18963)
Browse files Browse the repository at this point in the history
  • Loading branch information
myc2h6o authored Oct 25, 2022
1 parent afcd778 commit 8cf2bd9
Showing 1 changed file with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ import (
"strings"
"time"

"github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2021-11-01/compute"
"github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2018-07-10/siterecovery"
"github.com/hashicorp/go-azure-helpers/resourcemanager/commonschema"
"github.com/hashicorp/go-azure-sdk/resource-manager/compute/2022-03-02/disks"
"github.com/hashicorp/terraform-provider-azurerm/helpers/azure"
"github.com/hashicorp/terraform-provider-azurerm/helpers/tf"
"github.com/hashicorp/terraform-provider-azurerm/internal/clients"
Expand Down Expand Up @@ -163,21 +163,21 @@ func resourceSiteRecoveryReplicatedVM() *pluginsdk.Resource {
Required: true,
ForceNew: true,
ValidateFunc: validation.StringInSlice([]string{
string(compute.DiskStorageAccountTypesStandardLRS),
string(compute.DiskStorageAccountTypesPremiumLRS),
string(compute.DiskStorageAccountTypesStandardSSDLRS),
string(compute.DiskStorageAccountTypesUltraSSDLRS),
string(disks.DiskStorageAccountTypesStandardLRS),
string(disks.DiskStorageAccountTypesPremiumLRS),
string(disks.DiskStorageAccountTypesStandardSSDLRS),
string(disks.DiskStorageAccountTypesUltraSSDLRS),
}, false),
},
"target_replica_disk_type": {
Type: pluginsdk.TypeString,
Required: true,
ForceNew: true,
ValidateFunc: validation.StringInSlice([]string{
string(compute.DiskStorageAccountTypesStandardLRS),
string(compute.DiskStorageAccountTypesPremiumLRS),
string(compute.DiskStorageAccountTypesStandardSSDLRS),
string(compute.DiskStorageAccountTypesUltraSSDLRS),
string(disks.DiskStorageAccountTypesStandardLRS),
string(disks.DiskStorageAccountTypesPremiumLRS),
string(disks.DiskStorageAccountTypesStandardSSDLRS),
string(disks.DiskStorageAccountTypesUltraSSDLRS),
}, false),
},
"target_disk_encryption_set_id": {
Expand Down

0 comments on commit 8cf2bd9

Please sign in to comment.