[Question] Is there an equivalent to Terragrunts dependency
block?
#1090
Replies: 4 comments
-
Thanks for the excellent question @donovanrost. One of the reasons why we invented Terramate is that we discourage using outputs which is the de facto standard used in Terragrunt. To mention some of the reasons:
We managed dozens of mid to large-scale platforms using Terragrunts' approach and often ran into frustrating situations, hence the decision for Terramate to follow a different approach. In Terramate, we recommend the following approaches:
You might also be interested in #571 PS: I am about to publish a series of blog posts covering the recommended approaches. |
Beta Was this translation helpful? Give feedback.
-
Hey @donovanrost, Please let me know if that answered your question and if there's anything else I can help you with! Happy weekend! |
Beta Was this translation helpful? Give feedback.
-
Yes that did answer my question, thank you. I do think it would be cool to express a dependency between to modules and have terramate do the Data Source calls under the hood. I don't think that would be inline with the product goals |
Beta Was this translation helpful? Give feedback.
-
Hey @donovanrost, thanks for your feedback. We're working on an improved version of the orchestration and are also thinking about ways to improve the UX using data sources. What's important to remember, though is that the orchestration functionality isn't tight to Terraform exclusively. You can basically orchestrate all commands (e.g. We will discuss this during our next product planning session and get back to you with feedback! |
Beta Was this translation helpful? Give feedback.
-
Terragrunt offers an opinionated way to pass values from dependency to dependent using the dependency block.
This feature makes it easy for sibling level modules to pass values from one to the other.
One example of this is passing database information from a database module into a web service which requires that configuration data.
What is the
terramate
equivalent feature or technique to accomplish this?Beta Was this translation helpful? Give feedback.
All reactions