Remove pipeline variables section from azure.yaml for azd 1.17.0+ compatibility #328
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.yaml
configuration to be compatible with Azure Developer CLI (azd) version 1.17.0 and later by removing the deprecatedpipeline: variables
section.Changes Made
0.2.0
to0.4.0
to reflect the configuration changes">= 1.10.0"
to">= 1.17.0"
pipeline: variables
section containing 14 environment variablesBackground
As of azd version 1.17.0, the
pipeline: variables
section inazure.yaml
is no longer needed. The Azure Developer CLI now automatically detects and configures pipeline variables based on the parameters defined ininfra/main.parameters.json
.All 14 variables that were previously listed in the pipeline section are already properly defined in
main.parameters.json
:AZURE_OPENAI_CHAT_DEPLOYMENT
,AZURE_OPENAI_CHAT_MODEL
,AZURE_OPENAI_CHAT_MODEL_VERSION
AZURE_OPENAI_RESOURCE
,AZURE_OPENAI_RESOURCE_GROUP
,AZURE_OPENAI_RESOURCE_LOCATION
AZURE_OPENAI_DEPLOYMENT_CAPACITY
,AZURE_OPENAI_DEPLOYMENT_SKU_NAME
,AZURE_OPENAI_SKU_NAME
AZURE_OPENAI_API_VERSION
,CREATE_AZURE_OPENAI
,AZURE_OPENAI_ENDPOINT
SERVICE_ACA_RESOURCE_EXISTS
,DISABLE_KEY_BASED_AUTH
This change removes redundant configuration while maintaining full functionality with modern azd versions.
Fixes #327.
💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.