Terragrunt is a thin wrapper for Terraform that provides extra tools for working with multiple Terraform modules.
MIT License
Bot releases are hidden (Show)
Published by brikis98 over 3 years ago
get_original_terragrunt_dir()
[NEW]
generate
remote_state
get_original_terragrunt_dir()
helper, which returns the directory where the original Terragrunt configuration file (by default terragrunt.hcl
) lives. This is primarily useful when one Terragrunt config is being read from another: e.g., if /terraform-code/terragrunt.hcl
calls read_terragrunt_config("/foo/bar.hcl")
, and within bar.hcl
, you call get_original_terragrunt_dir()
, you'll get back /terraform-code
.generate
and remote_state
settings so that they can be set either as blocks or attributes. This makes it possible to, for example, read these settings from common.hcl
using read_terragrunt_config
and set them dynamically.Published by brikis98 over 3 years ago
--terragrunt-strict-include
--terragrunt-strict-include
, Terragrunt will now only execute within the directories passed in via --terragrunt-include-dir
. If you set --terragrunt-strict-include
, but don't pass in any directories via --terragrunt-include-dir
, then Terragrunt will exit without doing anything. This is arguably a backwards incompatible change, but this is the behavior the --terragrunt-strict-include
flag was intended to have originally, and is less surprising, so we're treating this as a bug fix.Published by brikis98 over 3 years ago
retry_max_attempts
[NEW]
retry_sleep_interval_sec
[NEW]
retry_max_attempts
and retry_sleep_interval_sec
, respectively.debug
.Published by yorinasub17 over 3 years ago
validate-inputs
[CLI Command]default = null
was viewed as a required input variable by validate-inputs
.Published by brikis98 over 3 years ago
terraform init
, Terragrunt will no longer pass the deprecated -get-plugins
flag.Special thanks to @davidalger for the contribution!
Published by yorinasub17 over 3 years ago
get_terragrunt_source_cli_flag
[func] [NEW]terraform.source
[attr]Add a new helper function get_terragrunt_source_cli_flag
for getting the value passed for the --terragrunt-source
arg. This is useful for implementing various logic that depends on whether terragrunt is running in local dev mode or not.
The source
getter for terragrunt now supports multiple forced getters, such as git-remote-codecommit
URLs.
Special thanks to @suhussai for their contribution!
Published by yorinasub17 over 3 years ago
remote_state
[S3 config] [block]You can now specify a custom DynamoDB endpoint on the remote state configuration for S3 using the dynamodb_endpoint
attribute in the config.
Special thanks to @alxrem for their contribution!
Published by yorinasub17 over 3 years ago
terraform.before_hook
[subblock]terraform.after_hook
[subblock]Hook configurations now accept a working_dir
attribute to specify where the command should run.
Published by brikis98 over 3 years ago
We have updated the creack/pty
dependency to to version 1.1.11. This will hopefully fix the "Setctty set but Ctty not valid in child" error when using terragrunt console
.
Thank you to @abohne for the fix!
Published by yorinasub17 over 3 years ago
Starting this release, we will be publishing binaries for the darwin/arm64
(compatible with Mac M1 chips) and linux/arm64
platforms.
Published by yorinasub17 over 3 years ago
validate-inputs
[new command]This release introduces a new command validate-inputs
. You can use this to sanity check the inputs you are passing through terragrunt against the available variables in the terraform module. Refer to the command docs for more info.
Published by ina-stoyanova over 3 years ago
remote_state
Added a new property accesslogging_target_prefix
to enable control over the TargetPrefix
setting when Server Access Logging is enabled for Remote TF State S3 buckets.
Note: This attribute won’t take effect if the accesslogging_bucket_name
attribute is not present.
More details can be found further in the official Terragrunt docs
remote_state {
backend = "s3"
config = {
bucket = "my-terraform-state"
...
...
accesslogging_bucket_name = "valid_string_for_S3_bucket_bame"
accesslogging_target_prefix = "valid_string" # NEW PROPERTY
}
}
Published by brikis98 over 3 years ago
Published by brikis98 over 3 years ago
run-all
run-all
command.Published by yorinasub17 over 3 years ago
run_cmd
[func]run_cmd
will now automatically chomp trailing whitespace (including newlines) from the returned output.Special thanks to @twang817 and @tbell83 for their contribution!
Published by brikis98 over 3 years ago
v0.28.0
, when we switched Terragrunt to use a proper logger that supported different log levels, we set the default log level to WARN
. The intention was to make Terragrunt's logging less noisy, but as an unintended side effect, we ended up suppressing some log messages that are important to see. This release changes the default log level to INFO
and should fix most of the logging issues.Published by yorinasub17 over 3 years ago
auto-init
Published by yorinasub17 over 3 years ago
run-all
[CLI]run-all
no longer allowed positional args.Published by yorinasub17 over 3 years ago
dependency
[block]dependency
output fetching where it will skip the init
phase if it detects that the module has previously been locally initialized.Published by brikis98 over 3 years ago
v0.28.0
, where, depending on your log level, Terragrunt's interactive prompts may have been hidden. Interactive prompts should now be visible regardless of log level.