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
Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave comments along the lines of "+1", "me too" or "any updates", they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment and review the contribution guide to help.
Terraform Version
v1.8.5
AzureRM Provider Version
v4.14.0
Affected Resource(s)/Data Source(s)
azurerm_postgresql_flexible_server_configuration
Terraform Configuration Files
server_configs=[
{ name ="max_connections", value ="100" },
{ name ="azure.extensions", value ="pgaudit,pg_stat_statements,pg_cron" },
{ name ="pgaudit.log", value ="ddl,write,role" },
{ name ="log_statement", value ="mod" },
{ name ="debug_pretty_print", value ="off" },
{ name ="log_error_verbosity", value ="verbose" },
{ name ="pg_qs.query_capture_mode", value ="top" },
{ name ="pgms_wait_sampling.query_capture_mode",value="all"},
{ name ="track_io_timing", value ="on"}
]
Debug Output/Panic Output
Error: updating Configuration (Subscription: "xxxxxxxxxxx"
Resource Group Name: "xxxxxxxxxxxx"
Flexible Server Name: "xxxx"
Configuration Name: "azure.extensions"): polling after Update: polling failed: the Azure API returned the following error:
Status: "ServerBusy"
Code: ""
Message: "Server 'xxxxx' is busy with another operation. Please try again later."
Activity Id: ""
---
API Response:
----[start]----
{"name":"","status":"Failed","startTime":"2024-12-16T14:00:53.177Z","error":{"code":"ServerBusy","message":"Server 'xxxxxx' is busy with another operation. Please try again later."}}
-----[end]-----
Expected Behaviour
resource "azurerm_postgresql_flexible_server_configuration" "configuration" {
for_each = { for idx, combined in local.combined_configs :
"${combined.server_name}-${combined.config_name}" => combined }
name = each.value.config_name
server_id = azurerm_postgresql_flexible_server.server[each.value.server_name].id
value = each.value.config_value
}
Actual Behaviour
Configurations are correctly added to the postgresql flexible server
Steps to Reproduce
Set some server configurations for the resource azurerm_postgresql_flexible_server_configuration and run terraform apply
If the error isn't returned run terraform destroy repeat above steps until the error is returned.
Important Factoids
No response
References
No response
The text was updated successfully, but these errors were encountered:
Is there an existing issue for this?
Community Note
Terraform Version
v1.8.5
AzureRM Provider Version
v4.14.0
Affected Resource(s)/Data Source(s)
azurerm_postgresql_flexible_server_configuration
Terraform Configuration Files
Debug Output/Panic Output
Expected Behaviour
resource "azurerm_postgresql_flexible_server_configuration" "configuration" {
for_each = { for idx, combined in local.combined_configs :
"${combined.server_name}-${combined.config_name}" => combined }
name = each.value.config_name
server_id = azurerm_postgresql_flexible_server.server[each.value.server_name].id
value = each.value.config_value
}
Actual Behaviour
Configurations are correctly added to the postgresql flexible server
Steps to Reproduce
Set some server configurations for the resource azurerm_postgresql_flexible_server_configuration and run terraform apply
If the error isn't returned run terraform destroy repeat above steps until the error is returned.
Important Factoids
No response
References
No response
The text was updated successfully, but these errors were encountered: