Skip to content

Commit

Permalink
Merge pull request #16004 from hashicorp/f/removing-storage-v1-zrs
Browse files Browse the repository at this point in the history
r/storage_account: StorageV1 and ZRS is no longer supported
  • Loading branch information
tombuildsstuff authored Mar 24, 2022
2 parents 19c9403 + 10cfcb7 commit 7175923
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 7175923

Please sign in to comment.