v0.70.0-beta2024120501
版本发布时间: 2024-12-05 23:30:29
gruntwork-io/terragrunt最新发布版本:v0.69.12(2024-12-13 04:51:37)
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 the terragrunt.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:
16:04:54.555 WARN Using `terragrunt.hcl` as the root of Terragrunt configurations is an anti-pattern, and no longer recommended. In a future version of Terragrunt, this will result in an error. You are advised to use a differently named file like `root.hcl` instead. For more information, see https://terragrunt.gruntwork.io/docs/migrate/migrating-from-root-terragrunt-hcl
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
and catalog
so that they don't assume usage of a root terragrunt.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: https://github.com/gruntwork-io/terragrunt/compare/v0.69.7...v0.70.0-beta2024120501
1、 SHA256SUMS 633B
2、 terragrunt_darwin_amd64 97.65MB
3、 terragrunt_darwin_arm64 94.52MB
4、 terragrunt_linux_386 88.39MB
5、 terragrunt_linux_amd64 95.35MB
6、 terragrunt_linux_arm64 92.35MB
7、 terragrunt_windows_386.exe 90.42MB
8、 terragrunt_windows_amd64.exe 96.58MB