azd-deployment

Deploy applications to Azure using the Azure Developer CLI with azure.yaml configuration.

37|10|Updated Nov 3, 2025
One-click install
npx skills add https://github.com/DanWahlin/oss-to-azure --skill azd-deployment-danwahlin
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: azd-deployment
Source: https://github.com/DanWahlin/oss-to-azure/tree/main/.github/skills/azd-deployment
Command: npx skills add https://github.com/DanWahlin/oss-to-azure --skill azd-deployment-danwahlin

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill simplifies the process of deploying applications to Azure using the Azure Developer CLI (azd), providing guidance on configuration, infrastructure as code, and deployment workflows.

Core Features & Use Cases

  • azure.yaml Configuration: Learn how to set up the azure.yaml file for Bicep or Terraform projects.
  • Post-Provision Hooks: Understand how to use shell scripts to perform actions after infrastructure is provisioned.
  • Deployment Lifecycle Management: Get a clear overview of the azd up process, from provisioning to post-provision hooks.
  • Use Case: You need to deploy a new web application to Azure. This Skill will guide you through setting up your azure.yaml, defining your Bicep infrastructure, and configuring post-provision hooks to set environment variables like a webhook URL.

Quick Start

Use the azd-deployment skill to provision your Azure infrastructure by running azd up.

Frequently Asked Questions about azd-deployment

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

FAQPage Schema
How do I deploy an application to Azure using the Azure Developer CLI?

Deploy applications to Azure using the Azure Developer CLI by configuring the `azure.yaml` file, defining Bicep or Terraform infrastructure, and running `azd up` to provision and deploy. The CLI manages the entire deployment lifecycle automatically.

What is the `azure.yaml` file used for in azd deployments?

The `azure.yaml` file configures Azure Developer CLI deployments for Bicep or Terraform projects. It defines infrastructure paths, services, and post-provision hooks, enabling automated provisioning and application deployment workflows.

Can I use Terraform instead of Bicep for infrastructure as code with azd?

Yes, the Azure Developer CLI supports both Bicep and Terraform for infrastructure as code. You configure your preferred infrastructure tool in the `azure.yaml` file to provision Azure resources during the `azd up` process.

How do I run shell scripts after Azure infrastructure is provisioned with azd?

Configure post-provision hooks in `azure.yaml` to run shell scripts after Azure infrastructure is provisioned. These hooks execute actions like setting environment variables or webhook URLs once the `azd up` deployment completes.

What does the azd up deployment lifecycle include?

The `azd up` deployment lifecycle includes provisioning Azure infrastructure using Bicep or Terraform, deploying application code, and executing post-provision hooks defined in `azure.yaml` for final configuration steps.

Do I need to write infrastructure as code before using the Azure Developer CLI?

Yes, you need Bicep or Terraform infrastructure as code files before deploying with the Azure Developer CLI. The tool provisions Azure resources based on these files referenced in your `azure.yaml` configuration during the `azd up` process.