Open baximan opened 6 months ago
Hi @baximan thanks for opening this issue. Per the Terraform documentation , "The azurerm_sql_failover_group resource is deprecated in version 3.0 of the AzureRM provider and will be removed in version 4.0. Please use the azurerm_mssql_failover_group resource instead.". Could you please use azurerm_mssql_failover_group
instead of azurerm_sql_failover_group
? If the issue persists, could you please provide a minimal, complete Terraform configuration to help repro/troubleshoot?
Hi , I have the same behavior" (sku_name) is not updated when updating azurerm_mssql_database (sku_name)" and I'm using the "azurerm_mssql_failover_group" resource with "grace_minutes = 80" and "mode = Automatic".
Is there an existing issue for this?
Community Note
Terraform Version
1.7.5
AzureRM Provider Version
3.99.0
Affected Resource(s)/Data Source(s)
azurerm_sql_failover_group
Terraform Configuration Files
Debug Output/Panic Output
Expected Behaviour
azurerm_sql_failover_group (sku_name) should be updating when updating azurerm_mssql_database (sku_name)
Actual Behaviour
No error. The azurerm_sql_failover_group (sku_name) is simply not updated.
Steps to Reproduce
sql_server
sku_name
on primary and run aterraform apply
Workaround: azurerm_sql_failover_group (sku_name) can be updated by the following cli command:
az sql db update --name "<database_name>" --resource-group "<resource_group_name>" --server "<sql_server_name>" --service-objective "<sku_name>"
Important Factoids
No response
References
No response