Agent skill

arm-templates

Deploy Azure resources with ARM templates and Bicep. Create modular deployments and manage dependencies. Use when deploying Azure-native IaC.

Stars 163
Forks 31

Install this agent skill to your Project

npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/arm-templates

Metadata

Additional technical details for this skill

author
devops-skills
version
1.0

SKILL.md

ARM Templates & Bicep

Deploy Azure infrastructure with ARM templates and Bicep.

Bicep Example

bicep
param location string = resourceGroup().location
param vmName string

resource vm 'Microsoft.Compute/virtualMachines@2023-03-01' = {
  name: vmName
  location: location
  properties: {
    hardwareProfile: {
      vmSize: 'Standard_B2s'
    }
    osProfile: {
      computerName: vmName
      adminUsername: 'azureuser'
    }
  }
}

output vmId string = vm.id

Deployment

bash
# Deploy Bicep
az deployment group create \
  --resource-group mygroup \
  --template-file main.bicep \
  --parameters vmName=myvm

# Deploy ARM
az deployment group create \
  --resource-group mygroup \
  --template-file template.json \
  --parameters @parameters.json

Best Practices

  • Use Bicep over JSON ARM
  • Implement modules for reusability
  • Use parameter files per environment
  • Validate before deployment

Expand your agent's capabilities with these related and highly-rated skills.

Didn't find tool you were looking for?

Be as detailed as possible for better results