en un clic
deployment-guide
// Guide azd-based deployments, including where azure.yaml and azd hook scripts live, the current deployment flow, troubleshooting docs, and regional/model availability checks for Azure OpenAI
// Guide azd-based deployments, including where azure.yaml and azd hook scripts live, the current deployment flow, troubleshooting docs, and regional/model availability checks for Azure OpenAI
Require relevant tests and documentation updates for any code or config change, and report what was run.
Create or update evaluation scenarios for the tests/evaluation framework, including session-based scenarios and A/B comparisons
Add a new React component with Material UI
Add a new FastAPI endpoint to the API
Add a handler for a new WebSocket message type
Add a new tool to the agent toolstore registry
| name | deployment-guide |
| description | Guide azd-based deployments, including where azure.yaml and azd hook scripts live, the current deployment flow, troubleshooting docs, and regional/model availability checks for Azure OpenAI |
Use this skill to orient users to the azd deployment setup, the hook flow, and how to validate regional/model availability.
azure.yaml — azd config, services, and hooks (preprovision/postprovision/postdown)devops/scripts/azd/preprovision.sh — preflight checks, remote state setup, tfvars/provider configdevops/scripts/azd/postprovision.sh — post-provision tasks (App Config, local env, etc.)devops/scripts/azd/postdown.sh — post-azd down cleanup (optional state delete + purge reminder)devops/scripts/azd/helpers/preflight-checks.sh — region + quota checksinfra/terraform/ — Terraform modules + paramsinfra/terraform/params/main.tfvars.*.json — environment-specific TF vars (including model_deployments)azd uppreprovision hook:
AZURE_LOCATIONmain.tfvars.json and provider configpostprovision hook:
.env.local generationazd deploy (service build/push/deploy per azure.yaml)azd down → postdown hook (optional remote state cleanup + purge reminder)Direct users to:
docs/getting-started/quickstart.md — first-time azd updocs/deployment/README.md — advanced deployment and flagsdocs/operations/troubleshooting.md and TROUBLESHOOTING.md — common errorsdocs/getting-started/README.md — region availability matrixUse these Azure CLI commands to validate region/model availability:
# List regions
az account list-locations -o table
# Check Azure OpenAI service availability in a region
az cognitiveservices account list-skus --kind OpenAI --location <region> -o table
# Check Cognitive Services availability (Speech, etc.)
az cognitiveservices account list-skus --kind SpeechServices --location <region> -o table
# Check OpenAI quota usage for a region (requires jq)
az cognitiveservices usage list -l <region> -o json \
| jq -r '.[] | select(.name.value | startswith("OpenAI.")) | "\(.name.value)\t\(.currentValue)/\(.limit)"'
# List deployments in a specific Azure OpenAI resource
az cognitiveservices account deployment list -g <resource-group> -n <openai-account> -o table
Also point to devops/scripts/azd/helpers/preflight-checks.sh for the exact checks used by azd.
There are two layers to adjust:
Provisioning (what gets created): edit model_deployments in:
infra/terraform/params/main.tfvars.*.json (env-specific)infra/terraform/terraform.tfvars.example (reference)Runtime selection (what the app uses): set the deployment name:
AZURE_OPENAI_CHAT_DEPLOYMENT_ID (preferred for app runtime)azure/openai/deployment-idExample:
azd env set AZURE_OPENAI_CHAT_DEPLOYMENT_ID "<your-deployment-name>"
azd deploy
For agent-specific overrides, update deployment_id in:
apps/artagent/backend/registries/agentstore/*/agent.yaml.