Deployment of PostgreSQL FlexibleServer using github action fails

Jurgen Jakam 0 Reputation points
2023-10-17T19:19:07.58+00:00

I'm trying to deploy a a couple of resources using bicep and GitHub actions
the PostgreSQL FlexibleServer fails to deploy with message "The resource operation completed with terminal provisioning state 'Failed'"

CorrelationId: 47698275-0534-45e4-bfa5-657c94561abf

The deployment '<deployment_name>'
     | failed with error(s). Showing 2 out of 2 error(s). Status Message:
     | Operations on a server group in dropping state are not allowed.
     | (Code:ServerGroupDropping)  Status Message: At least one resource
     | deployment operation failed. Please list deployment operations for
     | details. Please see https://aka.ms/arm-deployment-operations for usage
     | details. (Code: DeploymentFailed)  - The resource write operation
     | failed to complete successfully, because it reached terminal
     | provisioning state 'Failed'. (Code: ResourceDeploymentFailure)    -
     | Operations on a server group in dropping state are not allowed.
     | (Code:ServerGroupDropping)    CorrelationId:
     | 47698275-0534-45e4-bfa5-657c94561abf
Azure Database for PostgreSQL
{count} votes