Terragrunt Generator

🌐Community
by akin-ozer · vlatest · Repository

Generates Terragrunt configuration files quickly, streamlining infrastructure as code deployments and saving development time.

Install on your platform

We auto-selected Claude Code based on this skill’s supported platforms.

1

Run in terminal (recommended)

terminal
claude mcp add terragrunt-generator npx -- -y @trustedskills/terragrunt-generator
2

Or manually add to ~/.claude/settings.json

~/.claude/settings.json
{
  "mcpServers": {
    "terragrunt-generator": {
      "command": "npx",
      "args": [
        "-y",
        "@trustedskills/terragrunt-generator"
      ]
    }
  }
}

Requires Claude Code (claude CLI). Run claude --version to verify your install.

About This Skill

The terragrunt-generator skill enables AI agents to automatically create and manage Terragrunt configuration files, streamlining the setup of Infrastructure as Code environments. It specifically handles the generation of terragrunt.hcl files to define remote state backends, dependency hierarchies, and common variable overrides across multiple Terraform modules.

When to use it

  • Rapid Environment Provisioning: Quickly bootstrap new AWS or Azure infrastructure stacks without manually writing repetitive configuration syntax.
  • Dependency Management: Automate the creation of nested folder structures where child modules depend on parent configurations.
  • Consistency Enforcement: Ensure all environments adhere to standard naming conventions, remote state settings, and variable definitions.
  • Boilerplate Reduction: Eliminate manual errors when setting up complex multi-module Terraform projects for development or staging.

Key capabilities

  • Generates valid terragrunt.hcl configuration files on demand.
  • Configures remote state backends (e.g., S3, GCS) automatically.
  • Manages input and output variable overrides for different environments.
  • Establishes dependency relationships between Terraform modules.

Example prompts

  • "Create a Terragrunt configuration for an AWS VPC module that uses an S3 backend with encryption enabled."
  • "Generate a terragrunt.hcl file for a staging environment that overrides the environment variable to 'staging' and sets specific tags."
  • "Set up a dependency chain where the database module depends on the network module using Terragrunt's dependencies block."

Tips & gotchas

Ensure your AI agent has access to the necessary Terraform provider details (like region and account ID) before requesting configuration generation, as these are critical for valid remote state setups. This skill focuses on generating the wrapper configurations; you must still ensure the underlying Terraform modules exist in the correct directory structure.

Tags

🛡️

TrustedSkills Verification

Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.

Security Audits

Gen Agent Trust HubPass
SocketPass
SnykPass

Details

Version
vlatest
License
Author
akin-ozer
Installs
30

🌐 Community

Passed automated security scans.