Azure / static-web-apps-cli

Azure Static Web Apps CLI ✨
https://aka.ms/swa/cli-local-development
MIT License
583 stars 109 forks source link

Azure SWA region when using a private endpoint #851

Closed andreascorti closed 1 week ago

andreascorti commented 1 week ago

Hello, We are enforcing with some policies the resource creation in the region for which the subscription has been created for.

This is currently a big limitation for static web apps, even if exposed behind a private endpoint, because the region is used for the managed azure function and for staging environments and even with private endpoint it is mandatory to select one.

For example, my subscription and vnet are in NE, hence the company policy is preventing me to create a static web app with a NE private endpoint, because I cannot select WE as default region for the SWA.

Can you help me to find a solution for the issue?

Thanks, Andrea