diff --git a/azurerm/internal/services/storage/resource_arm_storage_account.go b/azurerm/internal/services/storage/resource_arm_storage_account.go index e7faa9321201..f29fb6bb814e 100644 --- a/azurerm/internal/services/storage/resource_arm_storage_account.go +++ b/azurerm/internal/services/storage/resource_arm_storage_account.go @@ -75,7 +75,7 @@ func resourceArmStorageAccount() *schema.Resource { string(storage.FileStorage), string(storage.StorageV2), }, true), - Default: string(storage.Storage), + Default: string(storage.StorageV2), }, "account_tier": { diff --git a/website/docs/guides/2.0-upgrade-guide.html.markdown b/website/docs/guides/2.0-upgrade-guide.html.markdown index 39076e9fb268..175d9748c482 100644 --- a/website/docs/guides/2.0-upgrade-guide.html.markdown +++ b/website/docs/guides/2.0-upgrade-guide.html.markdown @@ -603,6 +603,8 @@ The deprecated `enable_advanced_threat_protection` field will be removed. This f The default value for the field `enable_https_traffic_only` has changed from `false` to `true`. +The default value for the field `account_kind` has changed from `Storage` to `StorageV2`. + ### Resource: `azurerm_storage_blob` The deprecated `attempts` field will be removed, since Terraform now handles retries automatically. diff --git a/website/docs/r/storage_account.html.markdown b/website/docs/r/storage_account.html.markdown index 50da869e31bd..62c4e1858ecc 100644 --- a/website/docs/r/storage_account.html.markdown +++ b/website/docs/r/storage_account.html.markdown @@ -84,7 +84,7 @@ The following arguments are supported: * `location` - (Required) Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. -* `account_kind` - (Optional) Defines the Kind of account. Valid options are `BlobStorage`, `BlockBlobStorage`, `FileStorage`, `Storage` and `StorageV2`. Changing this forces a new resource to be created. Defaults to `Storage`. +* `account_kind` - (Optional) Defines the Kind of account. Valid options are `BlobStorage`, `BlockBlobStorage`, `FileStorage`, `Storage` and `StorageV2`. Changing this forces a new resource to be created. Defaults to `StorageV2`. * `account_tier` - (Required) Defines the Tier to use for this storage account. Valid options are `Standard` and `Premium`. For `FileStorage` accounts only `Premium` is valid. Changing this forces a new resource to be created.