Member-only story

Use ARM Template Test Toolkit (ARM-TTK)

Luca Berton
3 min readJan 7, 2025

The Azure Resource Manager (ARM) Template Test Toolkit (ARM-TTK) is a powerful tool designed to validate ARM templates against recommended practices. By running this toolkit, you can identify potential issues, improve compliance with Azure standards, and optimize template quality. This article explains how to install and use ARM-TTK, interpret results, and integrate it into your CI/CD pipelines.

What is ARM-TTK?

The ARM Template Test Toolkit is a collection of PowerShell scripts that check ARM templates, parameter files, and UI definition files (createUiDefinition.json) for compliance with best practices. These tests provide warnings, errors, and recommendations, enabling developers to:

  • Ensure the quality of their ARM templates.
  • Improve maintainability and reduce deployment errors.
  • Achieve faster Azure Marketplace approvals.

Key Features:

  • Customizable tests: Add or remove specific tests based on your requirements.
  • Comprehensive testing: Evaluate templates, parameters, and UI definitions.
  • CI/CD integration: Automate testing as part of your deployment pipeline.

Installing ARM-TTK

Install on Windows:

  1. Prerequisites:

--

--

Luca Berton
Luca Berton

Written by Luca Berton

I help creative Automation DevOps, Cloud Engineer, System Administrator, and IT Professional to succeed with Ansible Technology to automate more things everyday

No responses yet