Updated CLI args, config attributes and blocks
run_cmd
[helper function]
Description
- Terragrunt's parser ends up parsing
terragrunt.hcl
files multiple times, which is normally harmless, but in the case of therun_cmd
helper function, which can execute arbitrary code with side effects, this could cause problems. Therefore, we now cacherun_cmd
calls based on the arguments passed to them so that they are only executed once.