# Orchestrate multi-environment OpenTofu and Terraform stacks with shared config and dependency ordering using Terragrunt

> Coordinate layered Terraform or OpenTofu stacks across environments so plan and apply runs happen in the right order with shared inputs and less drift.

- Skill: `agentskillexchange/orchestrate-multi-environment-opentofu-and-terraform-stacks-` (Agent Skill)
- Install (CLI): `npx skillmds@latest add agentskillexchange/orchestrate-multi-environment-opentofu-and-terraform-stacks-`
- Raw SKILL.md: https://api.skillmd.com/api/skills/agentskillexchange/orchestrate-multi-environment-opentofu-and-terraform-stacks-/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: DevOps & Infra
- Author: agentskillexchange (https://skillmd.com/u/agentskillexchange)
- Updated: 2026-09-08
- Page: https://skillmd.com/skills/agentskillexchange/orchestrate-multi-environment-opentofu-and-terraform-stacks-

---


# Orchestrate multi-environment OpenTofu and Terraform stacks with shared config and dependency ordering using Terragrunt

Coordinate layered Terraform or OpenTofu stacks across environments so plan and apply runs happen in the right order with shared inputs and less drift.

## Prerequisites

Terragrunt CLI, Terraform or OpenTofu, access to the target infrastructure codebase, environment credentials, and remote state or backend access as required by the stack

## Installation

No source-backed install or usage instructions could be extracted automatically. Review the upstream project before running this skill in a sensitive workflow.

- Source: https://github.com/gruntwork-io/terragrunt

## Documentation

- https://terragrunt.com

## Source

- [Agent Skill Exchange](https://agentskillexchange.com/skills/orchestrate-multi-environment-opentofu-and-terraform-stacks-with-shared-config-and-dependency-ordering-using-terragrunt/)

