infra-test

Automate pre-deployment validation of infrastructure as code changes.

5|2|Updated Mar 20, 2026
One-click install
npx skills add https://github.com/srnichols/plan-forge --skill infra-test
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: infra-test
Source: https://github.com/srnichols/plan-forge/tree/main/presets/azure-iac/.github/skills/infra-test
Command: npx skills add https://github.com/srnichols/plan-forge --skill infra-test

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires az, bicep, terraform, pester, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates and validates infrastructure changes, ensuring reliability and minimizing risks before deployment, saving time and preventing costly mistakes.

Core Features & Use Cases

  • Automated Testing: Run a comprehensive test suite including Bicep linting, ARM TTK, Terraform validate, and Pester unit and integration tests.
  • Pre-deployment Validation: Execute What-If and Terraform Plan to validate changes without affecting production.
  • Integration Testing: Perform integration tests against a real environment for thorough validation.
  • Use Case: Before deploying new infrastructure, use this Skill to automate testing and validation processes, ensuring everything is in order.

Quick Start

Run infra tests for your infrastructure changes with 'Run infra tests'.

Frequently Asked Questions about infra-test

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I validate infrastructure as code changes before deployment?

Pre-deployment validation for infrastructure as code automates testing using Bicep linting, ARM TTK, Terraform validate, and Pester tests to ensure changes are safe and ready for deployment.

Can I run Terraform Plan and Azure What-If to check infrastructure changes without affecting production?

Yes, executing Terraform Plan and Azure What-If validates infrastructure changes in a dry-run mode, ensuring reliability and verifying configurations without deploying to or affecting production environments.

Do I need Azure CLI and Pester to automate infrastructure testing workflows?

Yes, automating infrastructure testing workflows requires Azure CLI, Bicep, Terraform, and Pester to execute IaC checks, run unit tests, and perform integration tests against cloud environments.

What is the best way to run integration tests for Bicep and Terraform infrastructure code?

Running integration tests for Bicep and Terraform infrastructure code involves executing a comprehensive test suite against a real environment to thoroughly validate changes and prevent costly deployment mistakes.

When should I use automated infrastructure testing for my cloud environment?

Automated infrastructure testing should be used before deploying new infrastructure to validate code changes, ensure reliability, minimize risks, and confirm everything is in order for cloud environments.

Does pre-deployment validation support both Bicep and Terraform IaC frameworks?

Pre-deployment validation supports both Bicep and Terraform IaC frameworks, running framework-specific checks like Bicep linting and Terraform validate to ensure code changes are safe for deployment.