terraform

Automate Terraform infrastructure with modular patterns and secure remote state.

Updated Mar 29, 2026
One-click install
npx skills add https://github.com/romankovsv/claude-code-python-devops-mlops --skill terraform-romankovsv
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: terraform
Source: https://github.com/romankovsv/claude-code-python-devops-mlops/tree/main/skills/terraform
Command: npx skills add https://github.com/romankovsv/claude-code-python-devops-mlops --skill terraform-romankovsv

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Terraform patterns and best practices for consistent, production-grade infrastructure as code, including module structure, remote state, drift detection, and security scanning.

Core Features & Use Cases

  • Modular root modules and reusable modules with strict versioning.
  • Secure remote state with S3 + DynamoDB lock, drift detection, and environment-specific backends.
  • Built-in tooling integration (tflint, checkov) for IaC quality and security.
  • Use cases: multi-environment deployments, secure state management, policy enforcement in CI.

Quick Start

Initialize your IaC project using the recommended module structure and backend settings to bootstrap multi-environment deployments.

Frequently Asked Questions about terraform

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

FAQPage Schema
How do I structure Terraform modules for multi-environment deployments?

Structure Terraform modules by creating modular root modules and reusable modules with strict versioning. This approach enables consistent multi-environment deployments across AWS, Azure, and GCP by enforcing environment-specific backends and pinning provider versions.

What is the best way to secure Terraform remote state with S3 and DynamoDB?

Secure Terraform remote state by using S3 for storage and DynamoDB for state locking. This configuration provides secure remote state management, enables drift detection, and ensures environment-specific backends for your infrastructure as code.

How do I run security and policy checks on Terraform code in CI?

Run security and policy checks on Terraform code by integrating tflint and checkov. These tools enforce IaC quality gates, perform drift detection, and scan infrastructure configurations for security vulnerabilities before deployment.

Can I use Terraform to manage infrastructure across AWS, Azure, and GCP simultaneously?

Yes, you can use Terraform to manage multi-environment deployments across AWS, Azure, and GCP. This is achieved by applying modular infrastructure patterns, pinning provider versions, and configuring environment-specific backends for each cloud platform.

Why do I need drift detection in infrastructure as code?

Drift detection in infrastructure as code identifies unmanaged changes to your cloud resources. It ensures your actual infrastructure matches your Terraform configuration, maintaining consistency and security across multi-environment deployments.

Does Terraform work with tflint and checkov for quality scanning?

Yes, Terraform works with tflint and checkov for IaC quality and security scanning. Integrating these tools enforces policy checks and quality gates, ensuring your modular infrastructure meets production-grade security standards before deployment.