Introducing Terramate v0.6.0 — Terragrunt Change Detection
We’re thrilled to introduce Terramate v0.6.0, which makes your Terraform, OpenTofu and Terragrunt deployments easier and better. In this release, we’ve ramped up our integration with Terragrunt, so now you can easily send Terraform plans to Terramate Cloud and enjoy better change detection for hassle-free deployments. Let’s explore some notable updates introduced in this version:
Enhanced Terragrunt Integration
- Sending Terragrunt-Generated Terraform Plans to Terramate Cloud: Terraform plans generated with Terragrunt can now be sent to Terramate Cloud using the
-terragrunt
flag. - Enhanced Terragrunt Change Detection: Terramate now better detects changes introduced by Terragrunt-specific configurations, including:
- Included Files via
include
Blocks: Terramate now tracks changes in files included throughinclude
blocks. - Tracking Dependencies (
dependency
anddependencies
Blocks): Terramate detects changes in files using dependencies specified independency
anddependencies
blocks. For example, if a dependency changes, Terramate includes files that have utilized the changed dependencies as part of the detected changes. - Recognizing Files Accessed via Function Calls: Terramate can detect changes by recognizing files accessed through function calls such as
read_terragrunt_config()
andread_tfvars_file()
. This means that if any of these function calls are used to access files that have changed, Terramate will identify these changes during its detection process. - Identifying Local
terraform.source
Blocks: Terramate captures changes in files specified within localterraform.source
blocks accurately.
Breaking Changes:
- Removal of the
terramate.config.git.default_branch_base_ref
option. - Disallowing code generation of HCL and plain files inside dot directories.
Additional Changes:
For a detailed list of all changes, please refer to the CHANGELOG.md.
Join the Community
We’re committed to continually improving Terramate to meet your evolving needs. Dive into the Terramate community and connect with like-minded individuals who share your passion for infrastructure management. Whether you’re a seasoned pro or just getting started, our community is here to support you every step of the way. Join us on Discord and be part of the conversation!
Upgrade to Terramate v0.6.0 today and discover how to start orchestrating Terragrunt with Terramate! 🚀 🔧
This article originally appeared in Rethinking IaC on April, 5, 2024