SkillsLib.ai

Terraform Code Review & Security Hardening

Review & harden Terraform configs for security compliance

0.0(0 reviews)
10+ downloads
Updated Oct 2026

What You Can Do

You submit Terraform code and Claude automatically audits it for security vulnerabilities, compliance gaps, and hardening opportunities. You get detailed findings mapped to CIS Benchmarks, AWS/Azure/GCP best practices, and actionable remediation steps with code examples.

Features

Automated security scanning

detects hardcoded secrets, overpermissive IAM policies, and unencrypted resources

CIS Terraform Benchmark mapping

flags non-compliant configurations and links to remediation guidance

Cost optimization analysis

identifies expensive resource configurations and rightsizing opportunities

Compliance validation

checks for encryption, logging, tagging, and multi-region failover readiness

IAM policy review

audits role permissions, cross-account access, and least-privilege violations

State file security

evaluates remote state backend encryption, access controls, and locking

Multi-cloud support

validates AWS, Azure, GCP, and hybrid infrastructure patterns

Remediation workflows

generates corrected Terraform blocks with explanations for each change

Example Output

Security Audit Report: vpc.tf

Critical Issues (3)

  • ❌ S3 bucket prod-logs has public ACL (Line 42)
    • Remediation: Add acl = "private" and block_public_acls = true
  • ❌ RDS instance uses publicly_accessible = true (Line 18)
    • Remediation: Set to false and use security group for access control
  • ❌ IAM role lambda-exec has "*" resource permissions (Line 64)
    • Remediation: Scope to specific ARNs and actions

Medium Issues (2)

  • ⚠️ Missing encryption key rotation for KMS (Line 31) — add enable_key_rotation = true
  • ⚠️ CloudTrail not enabled for S3 API calls — enable in s3.tf

Compliance Status

  • CIS 1.12 (Ensure S3 bucket has logging) — ✅ Pass
  • CIS 2.1 (Ensure CloudTrail enabled) — ❌ Fail
  • CIS 4.1 (Ensure IAM policies attached to groups) — ✅ Pass

What's Included

  • SKILL.md: Complete Terraform audit workflow with security frameworks and decision trees
  • Security Checklist: Pre-deployment verification template (encryption, IAM, logging, tagging)
  • CIS Benchmark Mapping: Terraform-specific controls with remediation code examples
  • Compliance Matrix: AWS/Azure/GCP best practices cross-reference
  • Risk Assessment Template: Severity scoring and priority matrix
  • Remediation Playbook: Common misconfigurations with corrected code blocks

Who It's For

  • DevOps Engineers — Review infrastructure code before production deployment
  • Cloud Security Engineers — Audit multi-account environments for compliance
  • Infrastructure Architects — Validate cloud architecture against security standards
  • Platform/SRE Teams — Enforce consistent security policies across teams
  • Cloud Governance Teams — Audit and report on infrastructure compliance posture

Best For

  • Pre-deployment security reviews — catch issues before terraform apply
  • Compliance audits — CIS Benchmarks, SOC 2, PCI-DSS, HIPAA readiness
  • IAM hardening — review permissions and enforce least-privilege policies
  • Cost optimization analysis — identify expensive configurations and rightsizing
  • Multi-cloud infrastructure reviews — validate AWS, Azure, GCP configs against common standards

You might also like

Visual Story Angles & Assignment Analysis for News
$40
News3.8(5)
Visual Story Angles & Assignment Analysis for News

Transform breaking news briefs into compelling visual story frameworks that guide photographers toward impactful coverage. You'll receive multiple narrative angles, detailed shot lists organized by scene and purpose, and complete assignment briefs with sourcing guidance. Each output ensures comprehensive emotional and contextual storytelling from first frame to final edit.

Data Journalist Visualization Strategist
$30
Data Journalist Visualization Strategist

You'll receive data-driven recommendations for chart types, color schemes, visual hierarchies, and narrative structures tailored to your audience and message. This skill guides you through selecting encodings that accurately represent data while maximizing audience comprehension and engagement—whether you're designing publication-ready graphics or interactive dashboards.

Open Data Story Discovery for Journalists
$30
Open Data3.4(5)
Open Data Story Discovery for Journalists

You can rapidly evaluate public datasets to uncover newsworthy patterns and develop story angles backed by reproducible analysis. Claude helps you assess data quality, identify anomalies, generate multiple narrative angles, and document your methodology so editors and fact-checkers can verify your findings. Turn raw data into compelling stories faster than traditional research.

Terraform Rapid Module Design & Review
$45
Terraform Rapid Module Design & Review

Quickly architect scalable, reusable Terraform modules that follow HashiCorp best practices and organizational standards. Get automated reviews that catch common pitfalls—variable naming, provider configuration, resource dependencies—before they reach production. Standardize your infrastructure-as-code across teams with instant feedback on module quality, security posture, and cost optimization opportunities.

Docker Container Troubleshooting & Performance Optimization
$35
Docker Container Troubleshooting & Performance Optimization

Analyze Docker container logs instantly to identify root causes of failures, crashes, and resource bottlenecks. Get actionable recommendations for resource allocation, network configuration, and architectural improvements that eliminate production issues before they cascade.

Story Development & Editorial Workflow
$40
News3.3(6)
Story Development & Editorial Workflow

Manage your entire story development pipeline—from assignment briefs and source research guidance to fact-checking verification and copy editing—all within Claude's context. You'll generate assignment templates, receive real-time editorial feedback, identify verification gaps, and receive copyediting suggestions with tracked changes. The skill handles complex multi-source stories, deadline pressure, and maintains editorial standards across your publication.

Interactive Data Narrative Builder
$35
Interactive Data Narrative Builder

You can transform complex datasets into compelling interactive narratives that maintain coherence while inviting exploration. This skill helps you architect data-driven stories where insights unfold naturally through guided discovery points, keeping readers engaged without limiting their agency. Readers navigate your narrative with purpose, uncovering patterns and relationships that would remain hidden in static presentations.

GCP Infrastructure Troubleshooting & Diagnostics Guide
$35
GCP Infrastructure Troubleshooting & Diagnostics Guide

Rapidly triage infrastructure incidents across all GCP services using guided diagnostic workflows, root cause decision trees, and remediation procedures. You get structured steps to isolate failures in Compute Engine, Cloud Run, Cloud SQL, networking, and storage, complete with gcloud commands, health checks, and rollback procedures.

$25.00