Terragrunt Infra Wrapper for Openclaw

A powerful utility toolkit for orchestrating, logging, and auditing Terragrunt and OpenTofu infrastructure operations.

bytesagain1
v1.0.0
Mar 20, 2026
0
821
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install infra-wrapper

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install infra-wrapper using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Terragrunt Infra Wrapper?

Terragrunt Infra Wrapper is a sophisticated orchestration tool designed to enhance Infrastructure as Code (IaC) workflows. By acting as a wrapper for OpenTofu and Terraform, it provides a robust layer for running, checking, and converting infrastructure configurations while maintaining a comprehensive audit trail. This Openclaw Skills component ensures that every infrastructure change is captured with high precision.

The tool focuses on providing developers with a centralized mechanism to monitor the status of complex deployments. Whether you are generating boilerplate, analyzing cost impacts, or batching operations across multiple environments, Terragrunt Infra Wrapper ensures that all entries are timestamped and logged locally, offering unparalleled visibility into your historical infrastructure activity.

Terragrunt Infra Wrapper Use Cases

  • Maintaining a detailed audit trail of all Terragrunt and OpenTofu orchestration activities.
  • Batch processing multiple infrastructure operations across various cloud regions.
  • Comparing staging and production configurations through timestamped historical records.
  • Exporting infrastructure data for compliance reporting or downstream CI/CD processing.
  • Analyzing the cost and structural impact of scaling changes before they are applied.

How Terragrunt Infra Wrapper Works

  1. The user executes an infrastructure command through the infra-wrapper CLI, such as a run or preview.
  2. The skill captures the input command and any associated metadata, including a high-precision timestamp.
  3. The operation is logged both in a command-specific log file (e.g., run.log) and a unified history.log for global tracking.
  4. Users can query the logs using built-in search and stats commands to monitor the health and frequency of operations.
  5. Infrastructure data can be exported into structured formats like JSON or CSV for external analysis.

Terragrunt Infra Wrapper Setup

To get started with this Openclaw Skills utility, ensure you have Bash and standard Unix utilities installed.

# Navigate to your local share directory
mkdir -p ~/.local/share/infra-wrapper/

# Clone or move the infra-wrapper script to your path
chmod +x infra-wrapper
sudo mv infra-wrapper /usr/local/bin/

# Verify the installation
infra-wrapper version

Terragrunt Infra Wrapper Data Schema & Taxonomy

The skill organizes its data within the ~/.local/share/infra-wrapper/ directory using a clear taxonomy of log files:

File Description
run.log Records all execution and apply operations.
history.log A unified audit trail of every action taken across the skill.
check.log Logs validation and dependency checks.
export.json/csv Structured data generated during the export process.
status.log Tracks health checks and system activity.

Terragrunt Infra Wrapper Advanced Features

  • Multi-format data export supporting JSON, CSV, and TXT for flexible reporting.
  • Case-insensitive global search functionality across all historical log entries.
  • Summary statistics engine to calculate disk usage and entry frequency by command type.
  • Local persistence ensures data privacy and offline access to infrastructure history.
  • Seamless integration into larger IaC automation pipelines via standard Unix piping.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*