Skip to content

v0.5.0

Compare
Choose a tag to compare
@github-actions github-actions released this 05 Mar 17:56
· 447 commits to main since this release
v0.5.0
78089cf

BREAKING CHANGES

Important

When using nested stacks and tags in before and after the order of execution was wrong.
This is now fixed but but can lead to a change in the order of execution in some rare cases.
Please check the terramate list --run-order after upgrading to ensure you run stacks in the correct order.

Added

  • Add terramate.config.generate.hcl_magic_header_comment_style option to change the comment style for magic headers to # instead of //
  • Add support for formatting single files or stdin with terramate fmt
  • Add support for --cloud-status filter to terramate run
  • Add support for --cloud-status filter to terramate script run
  • Add support to synchronize previews to Terramate Cloud via new terramate run --cloud-sync-preview
  • Add script.name attribute.
    • The commands terramate script info, terramate script list and terramate script tree were updated to show the script name (when available).
  • Improve user experience when using Terramate with existing Terragrunt projects.
    • Add terramate create --all-terragrunt option, which will automatically create Terramate stacks for each Terraform module.
  • Allow to run independent stacks in parallel for faster deployments and better utilization of system resources in general.
    • Add --parallel=N (short -j N) option to terramate run and terramate script run to allow running up to N stacks in parallel.
    • Ordering constraints between stacks are still respected, i.e. before/after, parent before sub-folders.
  • Add cloud_sync_drift_status option to script block commands. It allows for synchronizing the
    stack drift details from script jobs.
  • Add --cloud-sync-layer to allow users to specify a preview layer, e.g.: stg, prod etc.
    • This is useful when users want to preview changes in a specific terraform workspace.
  • Add --cloud-sync-layer and --cloud-sync-preview to script block, this would allow users to synchronize previews to Terramate Cloud via script jobs.

Fixed

  • Fix a panic in language server with a project containing errors on root directory
  • Fix the execution order when using tag filter in after/before in conjunction with implicit order for nested stacks. (BREAKING CHANGE)
  • Fix escape sequences being interpreted in heredocs (issue #1449)