From 272819ffcd6d62293a6473d0e4fd03a3ad75139c Mon Sep 17 00:00:00 2001 From: kt Date: Mon, 11 Jun 2018 23:24:55 -0700 Subject: [PATCH] azurerm_storage_account encryption now on by defaults --- azurerm/resource_arm_storage_account.go | 2 ++ website/docs/r/storage_account.html.markdown | 8 ++------ 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/azurerm/resource_arm_storage_account.go b/azurerm/resource_arm_storage_account.go index 7efa5e747aafd..0b0b301571141 100644 --- a/azurerm/resource_arm_storage_account.go +++ b/azurerm/resource_arm_storage_account.go @@ -127,12 +127,14 @@ func resourceArmStorageAccount() *schema.Resource { "enable_blob_encryption": { Type: schema.TypeBool, Optional: true, + Default: true, Computed: true, }, "enable_file_encryption": { Type: schema.TypeBool, Optional: true, + Default: true, Computed: true, }, diff --git a/website/docs/r/storage_account.html.markdown b/website/docs/r/storage_account.html.markdown index d04552f55bbd8..1376b7c6ee87a 100644 --- a/website/docs/r/storage_account.html.markdown +++ b/website/docs/r/storage_account.html.markdown @@ -97,13 +97,9 @@ The following arguments are supported: * `access_tier` - (Optional) Defines the access tier for `BlobStorage` and `StorageV2` accounts. Valid options are `Hot` and `Cold`, defaults to `Hot`. -* `enable_blob_encryption` - (Optional) Boolean flag which controls if Encryption - Services are enabled for Blob storage, see [here](https://azure.microsoft.com/en-us/documentation/articles/storage-service-encryption/) - for more information. +* `enable_blob_encryption` - (Optional) Boolean flag which controls if Encryption Services are enabled for Blob storage, see [here](https://azure.microsoft.com/en-us/documentation/articles/storage-service-encryption/) for more information. Defaults to `true`. -* `enable_file_encryption` - (Optional) Boolean flag which controls if Encryption - Services are enabled for File storage, see [here](https://azure.microsoft.com/en-us/documentation/articles/storage-service-encryption/) - for more information. +* `enable_file_encryption` - (Optional) Boolean flag which controls if Encryption Services are enabled for File storage, see [here](https://azure.microsoft.com/en-us/documentation/articles/storage-service-encryption/) for more information. Defaults to `true`. * `enable_https_traffic_only` - (Optional) Boolean flag which forces HTTPS if enabled, see [here](https://docs.microsoft.com/en-us/azure/storage/storage-require-secure-transfer/) for more information.