apply-all
should error if TERRAGRUNT_SOURCE is specified
#1339
Labels
enhancement
New feature or request
apply-all
should error if TERRAGRUNT_SOURCE is specified
#1339
I caused a MAJOR production outage across a set of tenants because I accidentally had the TERRAGRUNT_SOURCE environment variable set when I performed an "apply-all" across our tenants. This caused more than 800 resources across 6 customers to be deleted because TG attempt to apply the source from TERRAGRUNT_SOURCE against a set of terragrunt.hcl files that were for different modules.
TERRAGRUNT_SOURCE is incompatible with
apply-all
unless all modules being applied are for the same source.apply-all
should have prevented this from happening either by erroring or prompting me to confirm specifically about TERRAGRUNT_SOURCE.The text was updated successfully, but these errors were encountered: