terraform-helper

Guide Terraform and OpenTofu infrastructure as code with HCL syntax and CLI operations.

127|8|Updated Jun 14, 2022
One-click install
npx skills add https://github.com/shepherdjerred/monorepo --skill terraform-helper
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: terraform-helper
Source: https://github.com/shepherdjerred/monorepo/tree/main/packages/dotfiles/dot_claude/skills/terraform-helper
Command: npx skills add https://github.com/shepherdjerred/monorepo --skill terraform-helper

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill assists users in defining, provisioning, and managing cloud infrastructure using Infrastructure as Code (IaC) principles with Terraform and OpenTofu.

Core Features & Use Cases

  • HCL Syntax & Best Practices: Provides guidance on writing clean, maintainable HCL code.
  • CLI Command Reference: Details common Terraform/OpenTofu commands for initialization, planning, applying, and state management.
  • Provider Configuration & Security: Explains how to configure cloud providers securely and integrate security scanning tools.
  • Use Case: A user is new to Terraform and needs to set up a basic AWS VPC. They can use this Skill to understand the HCL structure, find the relevant aws_vpc resource, and learn how to initialize and plan their configuration.

Quick Start

Use the terraform-helper skill to generate a basic AWS VPC configuration.

Frequently Asked Questions about terraform-helper

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

FAQPage Schema
How do I integrate security scanning tools with my infrastructure as code workflow?

You integrate security scanning tools by configuring them alongside your cloud provider setups. This Skill explains how to securely configure providers and incorporate security scanning into your Terraform and OpenTofu infrastructure as code workflows.

How do I write HCL syntax to provision an AWS VPC with Terraform?

To provision an AWS VPC with Terraform, you define an aws_vpc resource block using declarative HCL syntax. This Skill provides HCL structure references and CLI command guidance to initialize, plan, and apply your configuration.

Can I use OpenTofu for cloud provisioning across AWS, Azure, and GCP?

OpenTofu supports cloud provisioning across AWS, Azure, and GCP. This Skill provides comprehensive guidance on both Terraform and OpenTofu, covering provider configurations, HCL syntax, and CLI operations for managing infrastructure as code.

What are the best practices for writing maintainable HCL and using dynamic blocks?

Maintainable HCL relies on following module best practices and utilizing advanced features like dynamic blocks and conditional expressions. This Skill provides detailed explanations of these features to help you write clean, declarative infrastructure code.

How do I manage Terraform state and integrate infrastructure as code into CI/CD?

You manage Terraform state using dedicated CLI operations and integrate infrastructure as code into CI/CD using established patterns. This Skill details state management and CI/CD integration patterns to automate your provisioning workflows.

How do I configure cloud providers and integrate security scanning tools in HCL?

You configure cloud providers securely within HCL files and add security scanning tools to validate your infrastructure. This Skill explains provider configuration and security scanning integration to ensure safe cloud resource provisioning.