Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Azure Database for PostgreSQL flexible server deployment error #90

Closed
jkayser225 opened this issue Oct 8, 2024 · 3 comments · Fixed by #91
Closed

Azure Database for PostgreSQL flexible server deployment error #90

jkayser225 opened this issue Oct 8, 2024 · 3 comments · Fixed by #91

Comments

@jkayser225
Copy link

Description

I am getting a failure when deploying related to Azure Database for PostgreSQL flexible server.

Environment

The same exact error happens when utilizing Codespaces, Dev Container, and a local environment. Where do I update the server name to fix this or is there another reason this is happening. See error details below:

You can view detailed progress in the Azure Portal:

(✓) Done: Resource group: Pleasework1-rg (283ms)
(x) Failed: Azure Database for PostgreSQL flexible server: Pleasework1-pdoenzsorqyks-postgresql (404ms)
(✓) Done: Log Analytics workspace: Pleasework1-pdoenzsorqyks-loganalytics (16.032s)
(✓) Done: Azure OpenAI: Pleasework1-pdoenzsorqyks-openai (21.365s)
(✓) Done: Azure AI Services Model Deployment: Pleasework1-pdoenzsorqyks-openai/gpt-35-turbo (21.904s)
(✓) Done: Azure AI Services Model Deployment: Pleasework1-pdoenzsorqyks-openai/text-embedding-ada-002 (22.385s)
(✓) Done: Application Insights: Pleasework1-pdoenzsorqyks-appinsights (884ms)
(✓) Done: Portal dashboard: Pleasework1-pdoenzsorqyks-appinsights-dashboard (353ms)
(✓) Done: Container Registry: Pleasework1pdoenzsorqyksregistry (22.938s)
(✓) Done: Container Apps Environment: Pleasework1-pdoenzsorqyks-containerapps-env (36.137s)
| ===| Creating/Updating resources
ERROR: error executing step command 'provision': deployment failed: error deploying infrastructure: deploying to subscription:

Deployment Error Details:
InvalidParameterValue: Invalid value given for parameter serverName. Specify a valid parameter value.

TraceID: 6adc7b8812dd1257360068833ab10a12

@jkayser225
Copy link
Author

My bad. I used a capital letter when creating my azure env name. This issue is resolved.

@pamelafox
Copy link
Contributor

Ah, I can fix the Bicep so that it always uses a lowercase version of the env name. Thanks for letting me know!

@jkayser225
Copy link
Author

Thanks! This is a great template!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants