Remove pipeline variables section from azure.yaml for azd 1.17.0+ compatibility#264
Draft
Remove pipeline variables section from azure.yaml for azd 1.17.0+ compatibility#264
Conversation
Co-authored-by: cassiebreviu <46505951+cassiebreviu@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Remove the pipeline: variables section from azure.yaml
Remove pipeline variables section from azure.yaml for azd 1.17.0+ compatibility
Sep 12, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR modernizes the
azure.yamlconfiguration to align with Azure Developer CLI (azd) version 1.17.0+ best practices by removing the explicitpipeline:variables section.Changes Made
Removed Pipeline Variables Section
The entire
pipeline:block containing 25+ variable declarations has been removed, including:AZURE_OPENAI_*,AZURE_COSMOS_*, etc.)SERVICE_ACA_*)AZURE_ENV_NAME,AZURE_LOCATION, etc.)BING_SEARCH_KEY)Added Version Requirements
Added a
requiredVersionssection that enforces azd >= 1.17.0:Updated Template Version
Bumped the metadata template version from
0.0.1to0.0.2to indicate this configuration change.Rationale
As of azd version 1.17.0, the
pipeline:variables:section is no longer needed. The Azure Developer CLI now auto-detects required variables frommain.parameters.json, which already contains all the necessary parameter mappings like:{ "environmentName": { "value": "${AZURE_ENV_NAME}" }, "location": { "value": "${AZURE_LOCATION}" }, "openAiApiVersion": { "value": "${AZURE_OPENAI_API_VERSION=2023-07-01-preview}" } }Benefits
The repository's CI/CD workflows will continue to work as expected, as they already use the GitHub Actions setup that installs azd and the variables are properly defined in the parameters file.
Fixes #[issue-number]
Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
aka.msbicep build main.bicep(dns block)If you need me to access, download, or install something from one of these locations, you can either:
Fixes #263
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.