Skip to content

Instantly share code, notes, and snippets.

@egorksv
egorksv / tg.sh
Created April 10, 2024 13:53
Terragrunt shell script to get layered deployments
#!/bin/bash
ENVS=("staging" "production")
CMD=("plan" "apply" "destroy" "init")
MGROUPS=("vpc" "eks" "eks-apps")
env=$1
cmd=$2
group=$3
args=${@:4}