You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error: creating Flexible Server (Subscription: "$SUB_ID"
Resource Group Name: "$RG_NAME"
Flexible Server Name: "$SERVER_NAME"): polling after Create: Code="InternalServerError" Message="An unexpected error occured while processing the request. Tracking ID: '$TRACKING_ID'"
with module.mysql-flexible-server.azurerm_mysql_flexible_server.server,
on ../../modules/mysql-flexible-server/main.tf line 39, in resource "azurerm_mysql_flexible_server""server":
39: resource "azurerm_mysql_flexible_server""server" {
Expected Behaviour
When provided a customer managed key for data encryption, terraform provider should put the same key or offer the option to select another key for the geo-redundant-backup server. Currently, the geo-redundant server does not get any CMK and a conflict appears, as from the Microsoft's official answer.
Actual Behaviour
The same CMK should have been provided to the geo-redundant backup server as well.
Steps to Reproduce
terraform apply with both options enabled (geo_redundant_backup_enabled and customer_managed_key block)
Important Factoids
No
References
No response
The text was updated successfully, but these errors were encountered:
Thanks for raising this issue. When geoRedundantBackup is enabled and CMK is set, geoBackupKeyURI and geoBackupUserAssignedIdentityId also need to be set. But unfortunately, these two properties haven't been supported by TF for now.
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
Is there an existing issue for this?
Community Note
Terraform Version
1.0.9
AzureRM Provider Version
3.41.0
Affected Resource(s)/Data Source(s)
azurerm_mysql_flexbile_server
Terraform Configuration Files
Debug Output/Panic Output
Expected Behaviour
When provided a customer managed key for data encryption, terraform provider should put the same key or offer the option to select another key for the geo-redundant-backup server. Currently, the geo-redundant server does not get any CMK and a conflict appears, as from the Microsoft's official answer.
Actual Behaviour
The same CMK should have been provided to the geo-redundant backup server as well.
Steps to Reproduce
terraform apply with both options enabled (geo_redundant_backup_enabled and customer_managed_key block)
Important Factoids
No
References
No response
The text was updated successfully, but these errors were encountered: