iac-common

Automate Azure Developer CLI deployments with validation checks and circuit breaker logic.

Updated Apr 19, 2026
One-click install
npx skills add https://github.com/Avihai-H/infraops --skill iac-common-avihai-h
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: iac-common
Source: https://github.com/Avihai-H/infraops/tree/main/.github/skills/iac-common
Command: npx skills add https://github.com/Avihai-H/infraops --skill iac-common-avihai-h

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill provides deployment strategies, including pre-flight checks and post-deployment validations, for infrastructure as code (IaC) in Bicep and Terraform, helping users avoid common deployment pitfalls and ensuring consistent infrastructure builds.

Core Features & Use Cases

  • Deployment Strategies: Offers deployment methods like azd, phased deployment via deploy.ps1 (deprecated), and single deployment for environments with less than 5 resources.
  • Circuit Breaker: Ensures deploy agents avoid failures and automatically stop operations under certain conditions, providing better deployment safety.
  • Preflight Validation: Checks environment settings, such as subscription IDs and resource group names, to prevent errors before deploying.
  • Post-Deployment Checks: Validates resources are in the expected state and captures necessary outputs.

Quick Start

Run the iac-common skill with azd up in your project directory to deploy infrastructure defined in the azure.yaml file.

Frequently Asked Questions about iac-common

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

FAQPage Schema
How do I automate infrastructure as code deployment with Azure Developer CLI?

Automate infrastructure as code deployment by running the skill with `azd up` in your project directory. It processes your `azure.yaml` file to deploy Bicep or Terraform templates with built-in validation checks and automated error handling.

What are preflight validation checks for IaC deployments?

Preflight validation checks for IaC deployments verify environment settings like subscription IDs and resource group names before execution. This prevents configuration errors and ensures your cloud deployment targets are correctly specified.

Does this deployment automation tool support both Bicep and Terraform?

Yes, this deployment automation tool supports both Bicep and Terraform files. It applies automated deployment strategies, including phased deployment and single deployment for environments with less than 5 resources, to ensure consistent infrastructure builds.

How does a circuit breaker improve cloud deployment safety?

A circuit breaker improves cloud deployment safety by automatically stopping operations when specific failure conditions are detected. This prevents deploy agents from continuing failed processes and avoids common deployment pitfalls.

What is the best way to validate resources after an IaC deployment?

The best way to validate resources after an IaC deployment is using post-deployment checks. These checks confirm resources are in their expected state and capture necessary outputs to verify your infrastructure build succeeded.

Do I need Azure Developer CLI to use these infrastructure deployment strategies?

Yes, you need Azure Developer CLI (azd) installed to use these infrastructure deployment strategies. The skill requires azd along with your necessary IaC files to execute pre-flight checks, phased deployments, and post-deployment validations.