SkillsLib.ai

Terraform Code Review & Security Hardening

Review & harden Terraform configs for security compliance

0.0(0 reviews)
10+ downloads
Updated Nov 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

Sports Photo Storyteller
$40
Sports3.8(6)
Sports Photo Storyteller

You can instantly generate engaging captions, story arcs, and pitch-ready copy for your sports photography. Whether you're covering a championship game, developing a photo essay series, or submitting work to media outlets, this skill crafts deadline-ready narratives that showcase your images and hook editors. Transform raw photos into publication-quality coverage with professional storytelling that brings readers into the defining moments of athletic competition.

Datadog Dashboard & Alert Strategy Designer
$25
Datadog Dashboard & Alert Strategy Designer

You can design comprehensive Datadog monitoring strategies that transform raw metrics into actionable intelligence. Claude helps you architect dashboards that surface critical insights, configure intelligent alerts that reduce false positives, and build escalation workflows that speed up incident response. The result: measurably lower MTTR and a team that trusts your alerts.

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.

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.

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.

AWS Infrastructure Audit & Optimization
$40
AWS Infrastructure Audit & Optimization

Systematically analyze your AWS accounts to identify cost optimization opportunities, security gaps, and performance bottlenecks. You'll receive prioritized, actionable recommendations tailored to your architecture, from EC2 right-sizing to unused resource cleanup and security hardening.

Data Journalist Analysis System
$30
Analysis4.2(5)
Data Journalist Analysis System

This skill walks you through a structured data analysis workflow—from initial exploration and claim verification to identifying compelling story angles and building evidence-backed narratives. You'll learn to spot anomalies, validate statistics, and construct defensible arguments that stand up to scrutiny. It's designed for journalists who want to move beyond surface-level data work into serious investigative storytelling.

Beat Reporter Research & Story Development
$35
Beat3.3(6)
Beat Reporter Research & Story Development

Accelerate your beat reporting by organizing research, identifying story angles, discovering sources, and developing narrative frameworks. You can quickly synthesize complex topics, spot emerging trends, and prepare comprehensive story outlines that anchor your reporting. This skill helps you go deeper on your beat with less time spent on research logistics.

$25.00