Skip to main content
skill CX Codex

azure-security-lab-terraform — Claude Code skill: install and use

azure-security-lab-terraform guides an agent through deploying a Terraform lab in Azure: hub-spoke VNets, Azure Firewall Basic, NSGs and Key Vault. Useful when you want real network controls to practise on without wiring them by hand.

no license 134 installs ★ 13 updated 2026-10-09

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add reason-machines/security-skills --skill azure-security-lab-terraform -a claude-code
Open on GitHub

What azure-security-lab-terraform does

The skill takes an agent through standing up the Azure Security Lab with Terraform: a hub VNet at 10.20.0.0/16 holding Azure Firewall Basic, a test spoke at 10.23.0.0/16 with an untrusted client, and a protected spoke at 10.22.0.0/16 running an IIS VM without a public address. NSGs guard each subnet, route tables push traffic into the firewall. Key Vault, Log Analytics and Azure Policy are variable toggles; deploy_bastion trades public RDP for private access.

Triggers cover the messy part too, like a failed apply or checking that firewall rules and logging behave. Settings live in terraform.tfvars or a file under environments/; then it is terraform plan -var-file="terraform.tfvars" and terraform apply. Outputs hand you connection details, such as terraform output test_client or the password from terraform output -raw windows_admin_password.

You need Terraform 1.9.0 or newer, the Azure CLI, and a subscription where you hold Contributor. admin_source_ip_cidr must carry your own address as a /32; without it RDP to the test client is not opened. Azure Firewall Basic runs at roughly 0.40 USD per hour, so tear the lab down with terraform destroy -var-file="terraform.tfvars" when the session ends. deploy_firewall = false drops the inspection step.

What it helps with

  • stand up a hub-spoke network with a firewall between spokes
  • check how NSGs and route tables block traffic between subnets
  • spin up a Windows client with RDP limited to one IP
  • deploy Key Vault, Log Analytics and Azure Policy in a single apply
  • debug a failed Terraform apply in the lab

Example prompts for the agent

  • Deploy the Azure security lab from terraform.tfvars with Azure Firewall Basic and both spokes.
  • Why did terraform apply fail on the firewall module? Walk through the deployment and fix it.
  • Tear down the lab: terraform destroy -var-file="terraform.tfvars".

How to install azure-security-lab-terraform

1Skills CLI (Vercel)

npx skills add reason-machines/security-skills --skill azure-security-lab-terraform -a claude-code

2Manually: put the files in place

~/.claude/skills/azure-security-lab-terraform/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/azure-security-lab-terraform/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about azure-security-lab-terraform

How do I install azure-security-lab-terraform in Claude Code?

Run npx skills add reason-machines/security-skills --skill azure-security-lab-terraform -a claude-code. The skill lands at ~/.claude/skills/azure-security-lab-terraform/SKILL.md.

What does this skill do?

It walks an agent through deploying and troubleshooting the Azure Security Lab: a Terraform hub-spoke setup with Azure Firewall Basic, NSGs, Key Vault and diagnostic logging.

What does the lab cost to run?

Azure Firewall Basic is the main line item at roughly 0.40 USD per hour, so the lab suits short sessions and gets destroyed afterwards.

Similar skills

All skills for Security →

From the same set129

The whole set →
pentest-lyan-web-security-testing pentest-lyan-web-security-testing is a Claude Code skill for web penetration testing: it models threats, reads frontend JavaScript and checks whether one role can reach past another. CX Codex +1 166installs jamboree-android-security-sandbox jamboree-android-security-sandbox is a Claude Code skill that sets up Android security testing environments with Magisk, Burp Suite, Objection, and a rooted emulator. CX Codex +1 156installs android-mobile-security-sandbox-jamboree The android-mobile-security-sandbox-jamboree skill guides setup of an Android app security environment using Magisk, Burp Suite, Objection, and Frida. Use it to inspect app traffic and runtime behavior. CX Codex +1 155installs jamboree-android-security-testing jamboree-android-security-testing — a skill that assembles an Android pentest rig: rooted emulator, Magisk, Burp Suite traffic interception and Objection/Frida hooks. CX Codex +1 149installs fsecure-internet-security-activation-warning The fsecure-internet-security-activation-warning skill flags requests and repositories tied to F-Secure patches, activators, or license bypasses. Use it when an agent needs to warn about piracy signals and possible malware distribution. CX Codex +1 130installs eset-security-patch-tool-analysis The eset-security-patch-tool-analysis skill helps inspect ESET patch tools for suspicious files, downloads, and licensing claims. Use it to plan a cautious review of a repository or installer. CX Codex +1 129installs fort-firewall-malware-repository-detection fort-firewall-malware-repository-detection scores repositories that pretend to be firewall or security tools and flags the ones pushing cracks, fake activators and redirect downloads. CX Codex +1 128installs k7-total-security-configuration The k7-total-security-configuration skill guides agents through K7 policy profiles, protection filters, and AI-assisted incident analysis settings. Its configuration templates are not the security software itself. CX Codex +1 127installs

Project sponsors

Companies that keep this analytics open