Loading source
Pulling the file list, source metadata, and syntax-aware rendering for this listing.
Source from repo
Execute Azure deployments using azd, Terraform, or Bicep with built-in error recovery.
Files
Skill
Size
Entrypoint
Format
Open file
Syntax-highlighted preview of this file as included in the skill package.
references/sdk/azd-deployment.md
1# Azure Developer CLI — Quick Reference23> Condensed from **azd-deployment**. Full patterns (Bicep modules,4> hooks, RBAC post-provision, service discovery, idempotent deploys)5> in the **azd-deployment** plugin skill if installed.67## Install8curl -fsSL https://aka.ms/install-azd.sh | bash910## Quick Start11```bash12azd auth login13azd init14azd up # provision + build + deploy15```1617## Best Practices18- Always use remoteBuild: true — local builds fail on ARM Macs deploying to AMD6419- Bicep outputs auto-populate .azure/<env>/.env — don't manually edit20- Use azd env set for secrets — not main.parameters.json defaults21- Service tags (azd-service-name) are required for azd to find Container Apps22- Use `|| true` in hooks — prevent RBAC "already exists" errors from failing deploy23