Dependency management #4358
Unanswered
andromeda306
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I need some help sorting out how best to approach dependency management when using stacks. I understand that currently dependency relationships need to be defined as the unit level, but I'd like some guidance on how it should be achieved in regards to the following 2 scenarios:
eu-west-1
which is dependent on another resource ineu-west-1
.In this case
unit2/terragrunt.hcl
should contain the following, if it is dependent onunit1/terragrunt.hcl
us-east-1
which has a dependency to a resource ineu-west-1
.In this case, running a similar setup from
us-east-1
results in the errorError processing module at './.terragrunt-stack/unit1/terragrunt.hcl'. How this module was found: dependency of module at './.terragrunt-stack/unit2'. Underlying error: file does not exist
- understandably, as.terragrunt-stack/unit1/terragrunt.hcl
only exists in theeu-west-1
directory. What is the best way to approach a setup like this?I have attempted to process what was said here #3313 (comment) but it just hasn't clicked.
Beta Was this translation helpful? Give feedback.
All reactions