benjaminastera/antigravity-awesome-skills/azd-deployment
Claude Code and agent skill by benjaminastera/antigravity-awesome-skills
- community
Checking that the SKILL.md file is still in the repository.
Deploy containerized applications to Azure Container Apps using Azure Developer CLI (azd). Use when setting up azd projects, writing azure.yaml configuration, creating Bicep infrastructure for Cont...
Install
npx vskill@latest install benjaminastera/antigravity-awesome-skills/azd-deploymentSKILL.md
The same SKILL.md was published earlier as benjaminastera/antigravity-awesome-skills/azd-deployment.
Azure Developer CLI (azd) Container Apps Deployment
Deploy containerized frontend + backend applications to Azure Container Apps with remote builds, managed identity, and idempotent infrastructure.
Quick Start
Core File Structure
azure.yaml Configuration
Minimal Configuration
Full Configuration with Hooks
Key azure.yaml Options
| Option | Description | |
|---|---|---|
remoteBuild: true | Build images in Azure Container Registry (recommended) | |
context: . | Docker build context relative to project path | |
host: containerapp | Deploy to Azure Container Apps | |
infra.provider: bicep | Use Bicep for infrastructure |
Environment Variables Flow
Three-Level Configuration
- Local `.env` - For local development only
- `.azure/<env>/.env` - azd-managed, auto-populated from Bicep outputs
- `main.parameters.json` - Maps env vars to Bicep parameters
Parameter Injection Pattern
Syntax: ${VAR_NAME} or ${VAR_NAME=default_value}
Setting Environment Variables
Bicep Output → Environment Variable
Idempotent Deployments
Why azd up is Idempotent
- Bicep is declarative - Resources reconcile to desired state
- Remote builds tag uniquely - Image tags include deployment timestamp
- ACR reuses layers - Only changed layers upload
Preserving Manual Changes
Custom domains added via Portal can be lost on redeploy. Preserve with hooks:
Handling Existing Resources
Container App Service Discovery
Internal HTTP routing between Container Apps in same environment:
Frontend nginx proxies to internal URL:
Managed Identity & RBAC
Enable System-Assigned Identity
Post-Provision RBAC Assignment
Common Commands
Reference Files
- Bicep patterns: See references/bicep-patterns.md for Container Apps modules
- Troubleshooting: See references/troubleshooting.md for common issues
- azure.yaml schema: See references/azure-yaml-schema.md for full options
Critical Reminders
- Always use `remoteBuild: true` - Local builds fail on M1/ARM Macs deploying to AMD64
- Bicep outputs auto-populate .azure/<env>/.env - Don't manually edit
- Use `azd env set` for secrets - Not main.parameters.json defaults
- Service tags (`azd-service-name`) - Required for azd to find Container Apps
- `|| true` in hooks - Prevent RBAC "already exists" errors from failing deploy
When to Use
This skill is applicable to execute the workflow or actions described in the overview.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/azd-deployment/SKILL.md
Popularity
- Repository stars
- 104
- Repository forks
- 7
- 7-day trend score
- 23
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/benjaminastera/antigravity-awesome-skills/azd-deployment)