Skip to content

Instantly share code, notes, and snippets.

View csirmazbendeguz's full-sized avatar

Csirmaz Bendegúz csirmazbendeguz

View GitHub Profile
@csirmazbendeguz
csirmazbendeguz / tg_destroy.py
Created April 1, 2025 03:26
A Python script to destroy a Terragrunt unit recursively
import argparse
import json
import subprocess
from dataclasses import dataclass, field
from typing import Self
def find() -> list[dict]:
args = [
"terragrunt",