iac-common

Provide shared Azure Bicep and Terraform deployment patterns with authentication validation and circuit breaker.

Updated Mar 16, 2026
One-click install
npx skills add https://github.com/batuhanysv/sdx-agentic-infraops --skill iac-common-batuhanysv
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: iac-common
Source: https://github.com/batuhanysv/sdx-agentic-infraops/tree/main/.github/skills/iac-common
Command: npx skills add https://github.com/batuhanysv/sdx-agentic-infraops --skill iac-common-batuhanysv

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides essential shared patterns and safety mechanisms for Infrastructure as Code (IaC) deployment agents, ensuring consistent, secure, and reliable Azure infrastructure provisioning.

Core Features & Use Cases

  • Authentication Validation: Enforces robust Azure CLI authentication checks before deployments.
  • Deployment Strategies: Defines phased and single deployment approaches for managing complexity.
  • Error Handling & Safety: Implements a circuit breaker pattern to detect and halt repetitive failures, preventing cascading issues.
  • Governance Mapping: Assists in translating Azure Policy constraints into IaC configurations.
  • Use Case: When deploying a new set of Azure resources using Bicep or Terraform, this Skill ensures that the CLI is properly authenticated, outlines a safe phased deployment, and automatically stops the process if repeated deployment errors occur, preventing wasted resources and time.

Quick Start

Before starting any deployment, consult the circuit breaker rules in the references to understand failure handling.

Frequently Asked Questions about iac-common

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

FAQPage Schema
How do I prevent cascading failures during Azure Bicep or Terraform deployments?

To prevent cascading failures during Azure deployments, use a circuit breaker mechanism that detects repetitive deployment errors and automatically halts the infrastructure provisioning process. This ensures safe operations and prevents wasted resources.

How do I validate Azure CLI authentication before running Infrastructure as Code?

Validating Azure CLI authentication before running Infrastructure as Code requires enforcing robust authentication checks to ensure the deployment agent is properly logged in. This prevents unauthorized deployment failures and secures the provisioning workflow.

What is a phased deployment strategy for Azure infrastructure provisioning?

A phased deployment strategy for Azure infrastructure provisioning breaks down complex Bicep or Terraform deployments into sequential stages. This approach manages deployment complexity and provides safer, more controlled infrastructure rollout.

How do I map Azure Policy governance constraints to Infrastructure as Code properties?

Mapping Azure Policy governance constraints to Infrastructure as Code properties translates regulatory rules into specific Bicep or Terraform configurations. This ensures deployed resources automatically comply with organizational governance requirements.

Can I use the same deployment safety patterns for both Bicep and Terraform?

Yes, shared Infrastructure as Code patterns support both Azure Bicep and Terraform deployment agents. They provide consistent CLI authentication validation, deployment strategies, and circuit breaker error handling across both frameworks.

When should I use a circuit breaker pattern in Infrastructure as Code deployments?

Use a circuit breaker pattern in Infrastructure as Code deployments when repetitive failures occur during Azure provisioning. It automatically stops the process to prevent cascading infrastructure issues, saving time and resources.