Skip to content

Commit

Permalink
r/storage_account: StorageV1 and ZRS is no longer supported
Browse files Browse the repository at this point in the history
Fixes #12485
  • Loading branch information
tombuildsstuff committed Mar 24, 2022
1 parent f74d027 commit 10cfcb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/services/storage/storage_account_resource.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.")
}
Expand Down

0 comments on commit 10cfcb7

Please sign in to comment.