azure-deploy

Execute validated Azure deployments using azd, Bicep, Terraform, or Azure CLI with error recovery.

Updated May 12, 2026
One-click install
npx skills add https://github.com/sohamda/apex-try-out-demo-repo --skill azure-deploy-sohamda
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: azure-deploy
Source: https://github.com/sohamda/apex-try-out-demo-repo/tree/main/.github/skills/azure-deploy
Command: npx skills add https://github.com/sohamda/apex-try-out-demo-repo --skill azure-deploy-sohamda

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Deploying applications to Azure involves strict prerequisites, subscription and region checks, and error-prone CLI workflows. This Skill enforces a validated prepare-validate-deploy pipeline so deployments only run against verified infrastructure plans, reducing failed deployments and orphaned resources. ## Core Features & Use Cases - Gated Deployment Execution: Runs azd up, azd deploy, terraform apply, or az deployment only after confirming the plan file exists with Validated status and populated validation proof. - Pre-Deploy Checklist Enforcement: Confirms subscription, region availability, resource group conflicts, and azd environment setup before any provisioning command runs. - Recipe-Based Workflows: Provides dedicated deployment recipes for AZD, Azure CLI, Bicep, Terraform, and CI/CD pipelines, each with verification and error-handling guides. - Use Case: After preparing and validating an ASP.NET Core app with Azure SQL, invoke this Skill to run azd up, then automatically grant managed identity SQL access and apply EF Core migrations. ## Quick Start Ask the agent to deploy my validated project to Azure using azd up and verify the endpoints are healthy.

Frequently Asked Questions about azure-deploy

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I deploy an app to Azure with azd?▼

Run azd up --no-prompt after creating an environment with azd env new and setting AZURE_SUBSCRIPTION_ID and AZURE_LOCATION via azd env set. This Skill enforces that sequence automatically and blocks deployment until the plan status is Validated.

What is the difference between azd up, azd provision, and azd deploy?▼

azd up provisions infrastructure and deploys application code in one step. azd provision creates only the Azure resources, while azd deploy pushes application code to existing infrastructure. Use azd deploy <service> to update a single service.

Can I use Terraform or Bicep instead of azd for Azure deployment?▼

Yes, the Skill includes recipes for Terraform (terraform apply with plan files), Bicep (az deployment sub create), and plain Azure CLI. Each recipe follows the same pre-deploy checklist and includes verification and error-handling steps.

Why does azd deploy fail with missing AZURE_CONTAINER_REGISTRY_ENDPOINT?▼

This occurs with .NET Aspire projects using azd limited mode, where azd provision does not populate registry and managed identity variables. Set AZURE_CONTAINER_REGISTRY_ENDPOINT, AZURE_CONTAINER_REGISTRY_MANAGED_IDENTITY_ID, and MANAGED_IDENTITY_CLIENT_ID via azd env set, then retry azd deploy.

Which Azure regions support Static Web Apps and Azure OpenAI?▼

Static Web Apps work in westus2, centralus, eastus2, westeurope, and eastasia but not eastus or westus3. For combined SWA plus Azure OpenAI deployments, eastus2 is the only region supporting both with full model availability.

When should I not use this deployment skill?▼

Do not use it to create new applications or generate infrastructure as code; those tasks belong to the azure-prepare skill. It also does not perform pre-deployment validation, which is handled by azure-validate before deployment runs.