Open brikis98 opened 6 years ago
I'd like to revive this issue if you don't mind @brikis98
We're getting our kubernetes provider configuration from our EKS module, which itself depends on our VPC module for inputs. This results in really long wait times if you have application states that rely on each other.
I think we'd need some kind of deduplication on dependencies here but haven't taken a look at the code yet.
Hi, are you using dependency
blocks, or dependencies
? If you are using the former, can you create a different issue and update the title to terragrunt doesn't reuse outputs of dependencies
? This issue is referring to a different problem related to dependencies
blocks.
When you run one of the
xxx-all
commands in a folderfoo
, Terragrunt walks the dependency tree, and one of the first things it does is identify all dependencies outside of thefoo
subtree, and confirm whether you want to runxxx-all
in those subfolders (e.g., to ensure we don'tapply
ordestroy
in a dependency you don't want to affect).It seems that this confirmation process is not de-duping the external dependencies, so it asks to confirm the same ones over and over again multiple times.