Open sbe-arg opened 1 year ago
Can you share the full error with a correlation ID? If you are receiving an Internal Server Error, that that is a bug in the Resource Provider's error handling logic. Can you open a support ticket and request that it be routed to the DBforPostgreSQL/flexibleServers
team?
Can you share the full error with a correlation ID? If you are receiving an Internal Server Error, that that is a bug in the Resource Provider's error handling logic. Can you open a support ticket and request that it be routed to the
DBforPostgreSQL/flexibleServers
team?
Opened 2 support tickets they said is as it works on the console its not their problem.
correlation ID 18d3df39-a50d-4b01-bb4b-3e59521e9acd
{ "status": "Failed", "error": { "code": "InternalServerError", "message": "An unexpected error occured while processing the request. Tracking ID: '4fbe6c9b-435b-4e9a-b01d-403d017955c1'" } }
Same password entered via GUI web resource creation works bue same apssword retrieved from a keyvault or passed as secure() parameters fails.
password example: some-very-insecure-pa22-#456
breaks in bicep
password example: someveryinsecurepa22456
works in both
Hi sbe-arg, this issue has been marked as stale because it was labeled as requiring author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment. Thanks for contributing to bicep! :smile: :mechanical_arm:
Lol
If there is an internal server error, then some service has a bug. It could be the deployments service or it could be the "flexible servers" resource provider. We can work on trying to reproduce it and triage it accordingly. @sbe-arg, do you happen to have the support ticket numbers from those cases?
@alex-frankel no I don't this happened a while ago in a test subscription that we cancelled later on. Since then we create a randomly generated password with force rotation on demand. I'm not sure if this is still a problem, have not tested password generation with hyphens for this use case since.
Bicep version Azcli 2.42.0
Describe the bug When deploying flexible servers with bicep with some password patterns allowed in the console the deployment fails. It makes it harder to debug if you are reading the password from keyvault auto-rotated passwords.
To Reproduce try to deploy flexible server with password or username with hypens
Additional context N/A