Open savannahostrowski opened 1 year ago
@savannahostrowski Just thinking in that scenario... If we did add validation at the bicep level, the user gets a better error message when provisioning, but changing the location would still be non-trivial. Would that be a step up?
Did you happen to pick westus2? I'm not sure if this list is comprehsneive: https://learn.microsoft.com/en-us/azure/postgresql/flexible-server/overview#azure-regions
Could we not just add an allow list to the location when we know that PostgreSQL is the DB?
You end up with the above error which is super cryptic.
@weikanglim - heads up for infra generation; can we add an allow list into the generated Bicep that prevents this from happening?