-
Hi, we are currently planning our TF version update from All our modules are in a monorepo, like Gruntwork suggests. Some of them are completely self-written, some wrap Gruntwork modules, which just have a In our To deal with the 70 different Git tags, we are currently discussing two options:
We are debating if it is necessary to update all HCLs in a “big bang”.
So, we are currently facing the following questions:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
In general, we recommend biting the bullet and updating everything at once. While there are features in terragrunt to support an incremental update transition, we have seen that this tends to incentivize teams to stay on the older versions longer, leading to near permanently staying on the older versions. This can cause operational overhead as it can lead to confusion as to which modules/components have been updated and why. With that said, it’s understandable that that is a bigger undertaking, so in this scenario, you might want to take the update in phases. The tricky bit here is that many of the strategies for incrementally updating your infrastructure will requires changes to your terraform code, so depending on your risk tolerance, it may not be feasible. Given that, here is a strategy you can take to incrementally update your modules.
Caveat on following dependency ordering: If you are already using terragrunt But if you aren't using terragrunt Hope that makes sense! |
Beta Was this translation helpful? Give feedback.
In general, we recommend biting the bullet and updating everything at once. While there are features in terragrunt to support an incremental update transition, we have seen that this tends to incentivize teams to stay on the older versions longer, leading to near permanently staying on the older versions. This can cause operational overhead as it can lead to confusion as to which modules/components have been updated and why.
With that said, it’s understandable that that is a bigger undertaking, so in this scenario, you might want to take the update in phases. The tricky bit here is that many of the strategies for incrementally updating your infrastructure will requires changes to your ter…