terraform-skill

Guide Terraform and OpenTofu infrastructure as code best practices.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/GML-FMGroup/cloud_agent --skill terraform-skill-gml-fmgroup
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: terraform-skill
Source: https://github.com/GML-FMGroup/cloud_agent/tree/main/cloud_agent/skills/terraform-skill
Command: npx skills add https://github.com/GML-FMGroup/cloud_agent --skill terraform-skill-gml-fmgroup

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides expert guidance on writing, testing, and deploying robust Terraform and OpenTofu infrastructure as code, ensuring best practices are followed for maintainability, security, and efficiency.

Core Features & Use Cases

  • IaC Best Practices: Learn optimal code structure, naming conventions, and module design.
  • Testing Strategies: Implement comprehensive testing from static analysis to integration tests.
  • CI/CD Integration: Set up reliable pipelines for infrastructure deployment.
  • Security & Compliance: Ensure your infrastructure adheres to security standards.
  • Use Case: You're starting a new project and need to define your cloud infrastructure using Terraform. Activate this skill to get recommendations on how to structure your modules, set up testing, and integrate with your CI/CD pipeline.

Quick Start

Use the terraform-skill to get recommendations on structuring a new Terraform module for an AWS VPC.

Frequently Asked Questions about terraform-skill

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

FAQPage Schema
What is the best way to structure Terraform modules for cloud infrastructure?

Testing Terraform infrastructure code involves implementing comprehensive strategies ranging from static analysis to integration tests, ensuring robust and reliable IaC configurations before deployment.

How do I integrate Terraform deployments into a CI/CD pipeline?

Integrating Terraform into a CI/CD pipeline requires setting up reliable deployment pipelines that automate infrastructure provisioning, ensuring secure and efficient version management across environments.

Does this guidance apply to OpenTofu infrastructure as code configurations?

Yes, this guidance fully supports OpenTofu infrastructure as code configurations, providing comprehensive best practices for code structure, security, and version management across both IaC tools.

How do I ensure security and compliance in Terraform infrastructure as code?

Terraform is best suited for defining and managing cloud infrastructure through code, but you should avoid using it for managing stateless application deployments or configuration tasks better handled by other automation tools.