Added
- Add
--enable-change-detection=<options>
and--disable-change-detection=<options>
to the commands:terramate list
,terramate run
andterramate script run
.- These flags overrides both the default change detection strategy and the configuration in
terramate.config.change_detection.git
block.
- These flags overrides both the default change detection strategy and the configuration in
- Add support for using
TM_ARG_*
environment variables to configure cli commands.
Note: This is an incremental change. Only global flags andterramate run
flags were added for now.- For example: Use
TM_ARG_CHDIR=stacks/prod TM_ARG_RUN_REVERSE=1 terramate run -- terraform apply
to run from insidestacks/prod
and with reversed execution order (which is the same asterramate --chdir stacks/prod run --reverse -- terraform apply
).
- For example: Use
Changed
- (Breaking change) The
terramate list --changed
now considers untracked and * uncommitted* files for detecting changed stacks.- This behavior can be turned off by
terramate.config.change_detection.git.untracked = "off"
andterramate.config.change_detection.git.uncommitted = "off"
.
- This behavior can be turned off by
- (Breaking change) Remove the deprecated
terramate experimental run-order
.- The
terramate list --run-order
was introduced in versionv0.4.5
and provides the same functionality as the removed command.
- The