Comments (5)
Is there a programmatic way to discover what regions are supported by a specific service? I imagine if we wanted to this the right way we would need to inspect all resources which would be deployed by a template and then query to find the list of supported regions for each type and take the intersection of this list.
Something related for us to think about, imagine that I have a set of infrastructure and then I add a new resource that that resource is not supported in the currently selected location. Is this something we would now detect before sending a deployment to ARM (i.e. early in azd provision
or would we just send the template and expect the ARM deployment to fail and we'd report that issue back to the user?
from azure-dev.
I know certain services (App Services for one) do provide an API for listing the available locations. I did look at a couple of others (ASWA and SQL specifically), and at the very least it didn't appear there was an option through the CLI.
I think the experience would be better to fail before attempting to create resources. Especially considering how long certain resources take to create (Cosmos DB as an example), it can be frustrating to wait a handful of minutes only to have it fail and figure out what needs to be cleaned up since the operation isn't transactional.
from azure-dev.
@ellismg - Will this be addressed in your region PR?
from azure-dev.
Partly - we will use the @allowed
decorator on the bicep file to control the allowable values for a location for a template and that will play into the values the user can select when configuring the location. But the template author must include this metadata, we are not going to try to query every RP to find all supported locations (we could, however, do that in the code we use to build these templates, so we don't have to manually keep it up to date).
from azure-dev.
Seems duplicate of #2695 which is fixed now by azd handling allowed
decorator.
from azure-dev.
Related Issues (20)
- [Issue] azd pipeline config, missing a OIDC Environment entry on Azure Entra
- [WebToolsE2E][Aspire][Linux] When running the 'azd pipeline config' command, an error message appears: 'failed to create or update service principal'. HOT 2
- [AspireDeployment] Initializing an Aspire project without 'Subscription', 'Location' will send an incorrect Prompt request on RefreshEnvironment HOT 2
- Questions Regarding Best Practices for CI/CD with Aspire HOT 1
- [ADE] Consuming ADE outputs API
- [Spike] Consume DeviceID for Go POC in AZD
- [Spike] Explore DCP
- Investigating/Fixing telemetry data
- Investigation on post-build AI learnings, hooks usage etc
- experiencing flakiness for Test_CLI_VsServer/LiveDeployRefresh tests HOT 2
- Template discoverability improvements (azd template list, azd init, azd template show) HOT 1
- Update ContainerImageName arg to ContainerRepository
- ARM64 Windows support
- Chat
- Test the Llama Index partner app HOT 1
- `azd env set` in a hook script doesn't have the variables available in future steps
- Danish date time breaks Aspire deployment HOT 1
- Hooks analysis and learning
- Add support for container.v1 HOT 1
- [Feature request] Add `manual` or `workflow_dispatch` flag to hooks to allow for selective execution of hooks HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from azure-dev.