Releases: terramate-io/terramate
Releases · terramate-io/terramate
v0.6.6
Fixed
- Fix issue with handling paginated responses from Github API when retrieving review and GHA action metadata.
v0.8.1
Fixed
- Fix incorrect warning emitted by the parser in the case
terramate.config.run.env
is defined outside project root.
v0.8.0
Added
- Add support for hierarchical configuration of the stack environment variables.
- The
terramate.config.run.env
declared closer to the stack has precedence over
declarations in parent directories.
- The
- Full support for OpenTofu plan files when syncing deployments, drifts or previews to Terramate Cloud.
- Add option flag
--tofu-plan-file
as alternative to--terraform-plan-file
. - Add script command option
tofu_plan_file
as alternative toterraform_plan_option
. - Both options work similar to their Terraform counterparts, but indicate that the plan was generated with
tofu
.
- Add option flag
Refactor
- (BREAKING CHANGE) Use
terramate.required_version
to detect project root if git is absent.- This is only a breaking change for projects not using
git
.
- This is only a breaking change for projects not using
v0.7.0
Tested
- Issue a test-only release that includes everything that was published in v0.6.5
v0.6.5
Added
- Add
terramate.config.change_detection.terragrunt.enabled
attribute. It supports the values below:auto
(default): Automatically detects if Terragrunt is being used and enables change detection if needed.force
: Enables Terragrunt change detection even if no Terragrunt file is detected in any stack.off
: Disables Terragrunt change detection.
Fixed
- Fix a performance regression in repositories having a lot of stacks.
v0.6.4
Fixed
- Fix
fmt --detailed-exit-code
not saving the modified files.
v0.6.3
Fixed
- Fixed the
generate_*.inherit=false
case when the blocks are imported and inherited in child stacks.
v0.6.2
Fixed
- Fixed remaining naming inconsistencies of some
cloud
script options.--cloud-sync-terraform-plan-file
=>--terraform-plan-file
(flag),terraform_plan_file
(script option)--cloud-sync-layer
=>--layer
(flag),layer
(script option)
v0.6.1
Added
- Add
generate_*.inherit
attribute for controlling if generate blocks must be inherited
into child stacks. - Add
terramate cloud login --github
for authenticating with the Github account. - Add experimental support for
tmgen
file extension for easy code generation/templating
of existing infrastructure. You can enable it withterramate.config.experimental = ["tmgen"]
. - Add
--watch
flag toterramate create
for populating thestack.watch
field. - Add support for parsing and generating code containing HCL namespaced functions.
- Check here for details.
- Make cloud-related options more concise by dropping the
cloud
prefix.- Option flags
--cloud-*
are shortened to--*
, e.g.--cloud-status=ok
=>--status=ok
. - Script command options
cloud_*
are shorted to*
, e.g.cloud_sync_deployment
=>sync_deployment
. - Old flags and command options are still supported as aliases for the new ones.
- Option flags
Changed
- Terragrunt integration is now stable and ready for production use.
Fixed
- Language server panics when editing a file outside a repository.
v0.6.0
Added
- (BREAKING CHANGE) Enable change detection for dotfiles. You can still use
.gitignore
to ignore them (if needed). - Add a new flag
--continue-on-error
toterramate script run
. When the flag
is set and a command in a script returns an error:- the script execution will be aborted and no further commands or jobs from that script will be run on the current stack node.
- the script execution will continue to run on the next stack node.
terramate script run
will return exit code 1 (same behaviour asterramate run --continue-on-error
).
- Add a new flag
--reverse
toterramate script run
. When the flag is set, the script execution will happen in the reverse order of the selected stacks. This is similar toterramate run --reverse
. - Improved Terragrunt integration by adding
--terragrunt
flag.- Instructs the CLI to use the Terragrunt binary when generating a plan file for cloud syncing.
- It's supported as a flag for
terramate run
and as a command optionterragrunt = true
for script commands.
Fixed
- Fixed a bug in the dotfiles handling in the code generation. Now it's possible to generate files such as
.tflint.hcl
. - Fixed the cloning of stacks containing
import
blocks.
Changed
- (BREAKING CHANGE) Removes the option
terramate.config.git.default_branch_base_ref
. - (BREAKING CHANGE) The code generation of HCL and plain files was disallowed inside dot directories.