terragrunt-units

Create and manage Terragrunt unit files for OpenTofu and Terragrunt platforms.

1|Updated Mar 20, 2025
One-click install
npx skills add https://github.com/asanexample/platform --skill terragrunt-units
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: terragrunt-units
Source: https://github.com/asanexample/platform/tree/main/.claude/skills/terragrunt-units
Command: npx skills add https://github.com/asanexample/platform --skill terragrunt-units

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill streamlines the process of authoring and editing Terragrunt unit files in an OpenTofu + Terragrunt platform, reducing complexity and ensuring consistency in infrastructure management.

Core Features & Use Cases

  • Unit File Authoring: Guide for creating and editing Terragrunt unit files for infrastructure as code.
  • Dependency Management: Automate dependency resolution and ensure mock outputs for unit dependencies.
  • Provider Configuration: Simplify provider generation for Helm, Kubernetes, and Keycloak services.
  • Use Case: When you need to add a new unit, wire a unit to a module, or edit the configuration hierarchy in your infrastructure setup.

Quick Start

Use the terragrunt-units skill to add a new unit to your infrastructure by creating a new 'terragrunt.hcl' file in the appropriate directory and following the guidelines provided.

Frequently Asked Questions about terragrunt-units

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

FAQPage Schema
How do I create a new Terragrunt unit file for OpenTofu infrastructure?

To create a Terragrunt unit file, generate a new 'terragrunt.hcl' file in the appropriate directory and wire it to your desired module. This automates infrastructure as code practices and ensures configuration consistency across your OpenTofu platform.

What is the best way to manage provider configuration for Helm, Kubernetes, and Keycloak in Terragrunt?

The best way to manage provider configuration is to use Terragrunt unit files to simplify provider generation for Helm, Kubernetes, and Keycloak services. This reduces manual setup complexity and streamlines infrastructure management across your platform.

How does dependency resolution work when wiring units to modules in Terragrunt?

Dependency resolution in Terragrunt automates the wiring of units to modules and ensures mock outputs are generated for unit dependencies. This allows you to safely manage the configuration hierarchy without deploying actual resources first.

Can I use this approach to configure AWS infrastructure with OpenTofu and Terragrunt?

Yes, you can configure AWS infrastructure by authoring Terragrunt unit files in an OpenTofu platform. The unit files focus on infrastructure as code practices, dependency resolution, and AWS provider configuration to streamline your setup.