Skip to content

Serialization

The Azure lexicon serializes resources into ARM template JSON.

Run chant build to produce an ARM template from your declarations:

Terminal window
chant build
# Writes dist/template.json

The generated template includes:

  • $schema pointing to the ARM deployment template schema
  • contentVersion: "1.0.0.0"
  • parameters section for input parameters
  • resources array with typed Azure resources
  • outputs section for stack outputs

Use the Azure CLI to deploy the generated template:

Terminal window
az deployment group create \
--resource-group my-rg \
--template-file dist/template.json