Skip to content

Set default value for aiDeploymentsLocation to match location#58

Open
therealjohn wants to merge 1 commit into
Azure-Samples:mainfrom
therealjohn:fix-separate-locations
Open

Set default value for aiDeploymentsLocation to match location#58
therealjohn wants to merge 1 commit into
Azure-Samples:mainfrom
therealjohn:fix-separate-locations

Conversation

@therealjohn
Copy link
Copy Markdown
Contributor

This pull request updates how the aiDeploymentsLocation parameter is handled in the infrastructure configuration, making the default location more consistent and improving parameter management.

Parameter management improvements:

  • Set a default value for the aiDeploymentsLocation parameter in main.bicep, so it defaults to the main location if not explicitly provided.
  • Updated main.parameters.json to use the ${AZURE_AI_DEPLOYMENTS_LOCATION} environment variable for aiDeploymentsLocation, allowing for more flexible deployment configurations.

Helps address Azure/azure-dev#6646

@v1212
Copy link
Copy Markdown
Contributor

v1212 commented May 22, 2026

This has been superseded by #68. As discussed, we re-implemented the same approach (using AZURE_AI_DEPLOYMENTS_LOCATION) on top of the current main branch to avoid conflicts from recent refactors. The companion azure-dev PR is Azure/azure-dev#8321. Thanks for the original work here!

trangevi pushed a commit that referenced this pull request May 22, 2026
…68)

Update aiDeploymentsLocation parameter to read from AZURE_AI_DEPLOYMENTS_LOCATION
env var instead of AZURE_LOCATION, and add a default fallback to the main location
parameter so existing environments without the new var continue to work.

Companion to Azure/azure-dev PR for fixing #7670.
Supersedes #58

Co-authored-by: Jian Wu <wujia@microsoft.com>
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 this pull request may close these issues.

2 participants