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.52k stars 4.6k forks source link

Add encryption block attribute to azurerm_data_protection_backup_vault #25413

Open alselivonets opened 5 months ago

alselivonets commented 5 months ago

Is there an existing issue for this?

Community Note

Description

Resource _azurerm_data_protection_backupvault doesn't support encryption settings. This feature is already in "Preview", see the reference:

https://learn.microsoft.com/en-us/azure/backup/encryption-at-rest-with-cmk-for-backup-vault Please add encryption block which would support customer managed key or HSM key for backup encryption as it's done for _azurerm_recovery_servicesvault resource: https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/recovery_services_vault.html#encryption

New or Affected Resource(s)/Data Source(s)

azurerm_data_protection_backup_vault

Potential Terraform Configuration

No response

References

https://learn.microsoft.com/en-us/azure/backup/encryption-at-rest-with-cmk-for-backup-vault https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/recovery_services_vault.html#encryption

alselivonets commented 1 month ago

The feature is no longer in preview. It is globally available now. @rcskosir please, remove the "preview" label