terraform-engineer

Implement modular Terraform configurations with remote state management and testing.

Updated Mar 17, 2026
One-click install
npx skills add https://github.com/Estom/aiflex --skill terraform-engineer-estom
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: terraform-engineer
Source: https://github.com/Estom/aiflex/tree/main/skills-repo/Jeffallan-skills/terraform-engineer
Command: npx skills add https://github.com/Estom/aiflex --skill terraform-engineer-estom

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill reduces the complexity and risk of implementing infrastructure-as-code by providing actionable patterns for modular Terraform development, secure remote state management, and reproducible multi-environment deployments.

Core Features & Use Cases

  • Module Design & Reuse: Create composable, versioned Terraform modules with clear inputs, outputs, and validation.
  • State & Backend Management: Implement remote backends (S3, Azure Blob, GCS) with locking, encryption, and workspace strategies.
  • Provider Configuration & Multicloud: Configure and pin AWS, Azure, and GCP providers, including aliased providers for multi-account/region setups.
  • Testing & Compliance: Integrate terraform fmt/validate, terraform plan/test, Terratest, TFLint, and policy-as-code checks for CI enforcement.
  • Use Case: Develop a production VPC module, migrate local state to an S3 backend with DynamoDB locking, and validate changes through CI before apply.

Quick Start

Create a reusable Terraform VPC module with a remote S3 backend and DynamoDB locking for AWS including variables, outputs, and an example usage.

Frequently Asked Questions about terraform-engineer

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

FAQPage Schema
How do I build production-grade Terraform modules with remote state management?

Production-grade Terraform modules require composable inputs, semantic versioning, and remote backends with locking and encryption. This involves configuring S3, Azure Blob, or GCS backends with state locking mechanisms like DynamoDB to ensure safe multi-environment deployments.

What is the best way to manage Terraform state across multiple cloud environments?

Managing Terraform state across multiple clouds involves using remote backends with encryption and workspace strategies. You can configure aliased providers for multi-account or multi-region setups to isolate state files while maintaining reproducible infrastructure-as-code deployments.

How do I configure multi-account AWS providers in Terraform?

Configuring multi-account AWS providers in Terraform uses aliased providers to manage multiple accounts or regions simultaneously. This approach allows you to pin provider versions and define specific configurations for each account within a single modular configuration.

Does this approach support integrating policy-as-code checks in CI pipelines for Terraform?

Yes, infrastructure-as-code testing integrates policy-as-code enforcement in CI pipelines. This includes running formatting and validation checks, Terratest, and TFLint to validate module changes and ensure compliance before applying infrastructure updates.

Can I use Terraform to migrate local state to an S3 backend with DynamoDB locking?

Yes, migrating local Terraform state to an S3 backend with DynamoDB locking is a core use case. This transition secures your state file with encryption and prevents concurrent state modifications during multi-environment infrastructure deployments.

When do I need input validation and semantic versioning for Terraform modules?

Input validation and semantic versioning are needed when creating reusable, production-ready Terraform modules. These practices ensure module stability, prevent invalid configurations, and provide reliable dependency management for downstream infrastructure consumers.