v0.70.0-beta2024120501 #3626
yhakbar
announced in
Pre-release Feedback
Replies: 1 comment 1 reply
-
Hi, could |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Deprecation Notice
This release deprecates
terragrunt.hcl
as the idiomatic root of Terragrunt configurations.Naming the file placed at the root of Terragrunt configurations
terragrunt.hcl
is a pattern that does not provide any functional advantage over calling it anything else (e.g.root.hcl
), but does serve to provide additional confusion and risk to Terragrunt users, as they can easily use Terragrunt in such a way that it ends up treating theterragrunt.hcl
file at the root as a unit instead of shared configuration.This pattern is very longstanding in typical Terragrunt usage, so changing it can be difficult. To get the ball rolling on this, the behavior will be deprecated, but still supported for the near future (and for a pretty long time thereafter).
How this will be achieved
Terragrunt will now emit warnings whenever it detects that users are following a pattern indicating usage of a root
terragrunt.hcl
file.The warning will look like this:
You can take a look at what those docs will look like here.
Those docs include information on a new Strict Control named root-terragrunt-hcl that will allow users to opt-in for a breaking change preventing usage of a root
terragrunt.hcl
.Using this strict control will also update defaults for commands like
scaffold
andcatalog
so that they don't assume usage of a rootterragrunt.hcl
file.Feedback Requested
You are encouraged to share your feedback on this pre-released change. You can either share your feedback via the associated GitHub Discussion, or you can share your feedback in our Discord.
Full Changelog: v0.69.7...v0.70.0-beta2024120501
This discussion was created from the release v0.70.0-beta2024120501.
Beta Was this translation helpful? Give feedback.
All reactions