hashicorp / terraform-provider-azurerm

Terraform provider for Azure Resource Manager
https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs
Mozilla Public License 2.0
4.59k stars 4.63k forks source link

Support for `Infrastructure encryption` and `Table` and `Queue` Services in `azurerm_storage_account_customer_managed_key` #11322

Open yupwei68 opened 3 years ago

yupwei68 commented 3 years ago

Community Note

Description

Support for the Table and Queue Services and Infrastructure encryption in azurerm_storage_account_customer_managed_key, like the portal below: image

image

These features could not be implemented in azurerm_storage_account_customer_managed_key, because they are Forcenew properties, which could only be set in creating a storage account.

New or Affected Resource(s)

Potential Terraform Configuration

# Copy-paste your Terraform configurations here - for large Terraform configs,
# please use a service like Dropbox and share a link to the ZIP file. For
# security, you can also encrypt the files using our GPG public key.

References

tombuildsstuff commented 3 years ago

@yupwei68 in which case it sounds like this isn't suitable for Terraform due to the API limitation unfortunately?

yupwei68 commented 3 years ago

Yes. Thus I open this issue to track these features.

jmcee1 commented 3 years ago

Shouldn't this be implemented in azurerm_storage_account, as other arguments forcing recreation if modified?

AliMBajwa commented 3 years ago

@jmcee1 agreed - I think this needs enabling on the storage accounts themselves. #8816