terraform-specialist_skill

This skill helps you design reusable Terraform modules, manage remote state securely, and automate infrastructure with best practices across environments.

1

GitHub Stars

1

Bundled Files

2 months ago

Catalog Refreshed

4 months ago

First Indexed

Readme & install

Copy the install command, review bundled files from the catalogue, and read any extended description pulled from the listing source.

Installation

Preview and clipboard use veilstrat where the catalogue uses aiagentskills.

npx veilstrat add skill sidetoolco/org-charts --skill terraform-specialist

  • SKILL.md1.3 KB

Overview

This skill delivers advanced Terraform expertise to design reusable modules, manage remote state, and implement Infrastructure as Code (IaC) best practices. It focuses on reproducible provider configurations, workspace strategies, and drift detection to keep environments consistent and auditable. Use this skill PROACTIVELY for module creation, state troubleshooting, or automating infrastructure pipelines.

How this skill works

I inspect existing Terraform code and state backends, then propose module refactors or new module implementations with clear input/output variables and examples .tfvars. I validate provider requirements and backend configuration, run plan/apply workflows (showing both plan and apply outputs), and produce scripts, Makefiles, and pre-commit hooks to automate safe operations. I also produce migration and backup steps for moving state or importing existing resources, and I recommend workspace and CI/CD patterns to prevent drift.

When to use it

  • When converting duplicated configurations into reusable Terraform modules
  • When configuring or migrating remote state (S3, Azure Storage, Terraform Cloud)
  • When you need provider version constraints and reproducible builds
  • When importing existing resources or detecting/configuring drift checks
  • When integrating Terraform into CI/CD with safe plan/apply gates

Best practices

  • Design modules around a single responsibility and expose minimal inputs
  • Treat state files as sacred: enable remote backends, locks, and backups
  • Always run terraform plan and review outputs before apply; include plan output examples
  • Lock provider and Terraform versions for reproducibility
  • Prefer data sources over hardcoded values and use workspaces or directories for environments
  • Use pre-commit hooks, automated fmt/validate, and CI plan checks to catch issues early

Example use cases

  • Create a VPC module with inputs for CIDR, AZs, and tagging; include .tfvars examples
  • Migrate local state to an S3 backend with DynamoDB locking and a step-by-step migration plan
  • Import cloud resources into state and run drift detection to reconcile configuration
  • Add provider version constraints and CI pipeline that runs plan and posts summaries to PRs
  • Build Makefile tasks and scripts for common workflows: init, plan, apply, destroy

FAQ

I produce a step-by-step migration plan: enable remote backend, create backups, perform a dry-run move, and verify state integrity before switching producers.

Can you show examples of plan and apply outputs?

Yes — I include representative terraform plan and terraform apply outputs alongside .tfvars examples and commands used to generate them.

Built by
VeilStrat
AI signals for GTM teams
© 2026 VeilStrat. All rights reserved.All systems operational