arm-templates
ARM Templates & Bicep provides Azure-native infrastructure-as-code using Bicep's cleaner syntax or traditional ARM JSON. Build modular deployments across resource groups, subscriptions, and management groups with What-If validation before applying changes.
ARM Templates & Bicep deploys Azure infrastructure using native IaC with modular Bicep syntax or ARM JSON templates.
AI-generated summary based on this skill's SKILL.md
Install
BagelHole/DevOps-Security-Agent-Skills/arm-templates · repository language: Shell
git clone https://github.com/BagelHole/DevOps-Security-Agent-Skills
cp -r DevOps-Security-Agent-Skills/infrastructure/cloud-azure/arm-templates ~/.claude/skills/arm-templatesnpx skillfed install BagelHole/DevOps-Security-Agent-Skills/arm-templatesFrequently asked questions
AI-generated answers based on this skill's SKILL.md and metadata
How to deploy Azure resources with arm-templates?
ARM Templates & Bicep enables Azure resource deployment through either Bicep's modern syntax or traditional ARM JSON. Use Azure CLI commands like `az deployment group create` for resource group scope or `az deployment sub create` for subscription-level deployments. Define your infrastructure in Bicep or JSON, specify parameters, and execute deployments with full validation and rollback capabilities.
What is bicep vs arm json templates for Azure IaC?
ARM Templates & Bicep supports both formats. Bicep offers cleaner, more readable syntax with built-in module support and reduced boilerplate compared to ARM JSON. ARM JSON provides broader tooling compatibility and longer Azure support history. ARM Templates & Bicep lets you work with either format and even convert between them using the decompile feature.
How do I validate deployments before applying with arm-templates?
ARM Templates & Bicep includes What-If analysis to preview deployment changes without applying them. Run `az deployment group what-if` or `az deployment sub what-if` to see exactly which resources will be created, modified, or deleted. This validation step prevents unintended infrastructure changes and helps catch configuration errors early.
Can I convert arm json to bicep format?
ARM Templates & Bicep supports decompiling ARM JSON templates into Bicep format using the `az bicep decompile` command. This simplifies migration from legacy ARM templates to Bicep's cleaner syntax while preserving all resource definitions and parameters. The resulting Bicep files are more maintainable and easier to refactor.
How do bicep modules and best practices work?
ARM Templates & Bicep enables modular infrastructure through Bicep modules that encapsulate reusable resource definitions. Best practices include organizing modules by resource type, using descriptive parameter names, leveraging parameter files for environment-specific values, and storing sensitive data in Azure Key Vault. Modules promote code reuse across deployments and teams.
What does arm-templates support for multi-scope deployments?
ARM Templates & Bicep handles deployments across resource groups, subscriptions, and management groups. Use resource group scope for standard deployments, subscription scope for policies and role assignments, and management group scope for tenant-wide governance. Each scope level supports the same Bicep syntax with appropriate targeting and parameter configurations.
SKILL.md
rendered from the published skill — quoted content, verbatim
ARM Templates & Bicep
Deploy Azure infrastructure with ARM templates and Bicep. Bicep is the recommended domain-specific language that compiles to ARM JSON, offering cleaner syntax, modules, and first-class tooling support.
When to Use
- You need Azure-native Infrastructure as Code without third-party tooling.
- Your organization standardizes on Azure and wants tight portal integration.
- You need What-If analysis before deploying changes.
- You are migrating existing ARM JSON templates to Bicep for maintainability.
- You need deployment scopes at resource group, subscription, management group, or tenant level.
Prerequisites
```bash
Install Azure CLI
curl -sL https://aka.ms/InstallAzureCLIDeb | sudo bash
Install Bicep CLI (bundled with Azure CLI 2.20+)
az bicep install az bicep upgrade
Verify installation
az bicep version
Login and set subscription
az login az account set --subscription
(truncated - see the full file via the links below)
Read as markdown · JSON record · Browse the source repository
File tree — 2 files
infrastructure/cloud-azure/arm-templates/SKILL.md
infrastructure/cloud-azure/arm-templates/references/arm-syntax.md