From 10cfcb723bf22af79135a57ad8265d178dbf734e Mon Sep 17 00:00:00 2001 From: tombuildsstuff Date: Thu, 24 Mar 2022 10:48:31 +0100 Subject: [PATCH] r/storage_account: StorageV1 and ZRS is no longer supported Fixes #12485 --- internal/services/storage/storage_account_resource.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/services/storage/storage_account_resource.go b/internal/services/storage/storage_account_resource.go index 766d949a1426..be4aa6278775 100644 --- a/internal/services/storage/storage_account_resource.go +++ b/internal/services/storage/storage_account_resource.go @@ -1291,7 +1291,7 @@ func resourceStorageAccountUpdate(d *pluginsdk.ResourceData, meta interface{}) e storageType := fmt.Sprintf("%s_%s", accountTier, replicationType) accountKind := d.Get("account_kind").(string) - if accountKind == string(storage.KindBlobStorage) { + if accountKind == string(storage.KindBlobStorage) || accountKind == string(storage.KindStorage) { if storageType == string(storage.SkuNameStandardZRS) { return fmt.Errorf("A `account_replication_type` of `ZRS` isn't supported for Blob Storage accounts.") }