azure-bicep-deploy

zer0big's avatarfrom zer0big

Bicep로 Azure 리소스를 배포할 때 사용한다.반드시 (1)구독 컨텍스트 확인 (2)파라미터 파일 형식 검증 (3)validate/what-if(4)create (5)deployment/resource 증거 확인 (6)정리 순서를 따른다.

0stars🔀0forks📁View on GitHub🕐Updated Jan 10, 2026

When & Why to Use This Skill

This Claude skill automates the deployment of Azure resources using Bicep templates, ensuring a reliable and standardized Infrastructure as Code (IaC) workflow. It enforces a rigorous 6-step process—including subscription context verification, parameter validation, pre-deployment impact analysis (what-if), and post-deployment resource verification—to minimize manual errors, improve security, and maintain infrastructure consistency.

Use Cases

  • Automated Resource Provisioning: Streamline the creation and management of Azure services like storage accounts, virtual networks, and compute instances using Bicep templates.
  • Safe Deployment Validation: Execute 'what-if' analysis to preview infrastructure changes before they are applied, reducing the risk of accidental resource deletion or misconfiguration.
  • DevOps Workflow Standardization: Implement a consistent deployment pipeline that mandates environment checks and post-deployment evidence collection for compliance and auditing.
  • Development Environment Management: Quickly spin up Azure resources for testing and ensure a clean environment through the integrated resource cleanup and group deletion steps.
nameazure-bicep-deploy
description|

Bicep 배포 스킬(Azure)

수행 절차(반드시 순서대로)

  1. 컨텍스트 확인
  • az account show로 구독 확인, 필요 시 az account set 수행
  1. 요구사항 확인
  • 리소스/지역/네이밍/네트워크(publicNetworkAccess)/태그/정리 계획 확인
  1. 템플릿/파라미터 준비
  • 템플릿: ./templates/storage-private.bicep
  • 파라미터 파일은 ARM parameter file 스키마로 작성하고 --parameters @file.json로 전달
  1. 배포 전 검증
  • az deployment group validate
  • az deployment group what-if
  1. 배포 실행
  • az deployment group create -n
  1. 배포 후 증거 확인(필수)
  • az deployment group list/show
  • az resource list
  • az storage account show
  1. 정리
  • az group delete --yes --no-wait