From 8cf2bd9cde8c9adbe95c1645af8e1d35ef0cf09c Mon Sep 17 00:00:00 2001 From: Yichun Ma Date: Tue, 25 Oct 2022 16:37:15 +0800 Subject: [PATCH] `azurerm_site_recovery_replicated_vm` - update disks sdk (#18963) --- .../site_recovery_replicated_vm_resource.go | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/internal/services/recoveryservices/site_recovery_replicated_vm_resource.go b/internal/services/recoveryservices/site_recovery_replicated_vm_resource.go index 9b4ba72ad416..45702ad17928 100644 --- a/internal/services/recoveryservices/site_recovery_replicated_vm_resource.go +++ b/internal/services/recoveryservices/site_recovery_replicated_vm_resource.go @@ -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" @@ -163,10 +163,10 @@ 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": { @@ -174,10 +174,10 @@ 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_disk_encryption_set_id": {