---
title: IaC Orchestration
description: Keep your Infrastructure as Code DRY and seamlessly manage complex multi-environment STACKIT deployments with Terragrunt for advanced IaC orchestration.
hideBreadcrumbs: true
sidebar:
  hidden: true
scfAsset:
  category: "guide"
  tags: ["design-and-mobilize", "landing-zone", "dev-platform", "terragrunt", "orchestration", "multi-env"]
  maintainers:
    - user: "lukas.weberruss"
      role: true
      website: true

source_url: "https://framework.stackit.cloud/migration/assetcontainer/stackit/devex-iac-orchestration/"
source_file: "docs/migration/assetcontainer/stackit/devex-iac-orchestration.mdx"
---

As STACKIT environments scale across development, staging, and production boundaries, standard IaC configurations can become redundant. IaC Orchestration ensures configurations remain DRY (Don't Repeat Yourself) while managing complex deployment dependencies.

## Orchestration Standard

- **Terragrunt**: Wraps standard Terraform or OpenTofu commands to provide advanced remote state management, module execution dependencies, and hierarchical variable inheritance for STACKIT projects.

## Implementation Architecture

<Steps>

1. Restructure your existing STACKIT Terraform modules into reusable backend components.

2. Create a hierarchical folder structure (`dev`, `stage`, `prod`) driven by `terragrunt.hcl` files.

3. Utilize Terragrunt to orchestrate the sequential deployment of STACKIT networks, followed by SKE
   clusters, and finally managed databases.

</Steps>
