When working with nested layout of many directories, it can make it cumbresome to run terraform commands in many different folders. How to deal with it?
Answer
There are multiple ways to deal with it:
- Write scripts that perform some commands recursively with different conditions
- Use tools like Terragrunt where you commands like "run-all" that can run in parallel on multiple different paths