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 yorinasub17 over 3 years ago
run-all
[new CLI command]apply-all
[deprecated]plan-all
[deprecated]output-all
[deprecated]destroy-all
[deprecated]validate-all
[deprecated]run-all
command that allows you to run arbitrary terraform commands against a terragrunt stack. For example, you can run terraform init
against a stack using terragrunt run-all init
.xxx-all
commands have now been deprecated in favor of run-all
. Each command still works for backwards compatibility, but may be removed in the future.Published by brikis98 over 3 years ago
--terragrunt-log-level
[new CLI argument]warn
, so by default, you'll get much less noise from Terragrunt's logging. You can configure the log level using the new --terragrunt-log-level
argument. There should be no behavior difference, but since it's such a drastic difference in how logs look, marking this as backwards incompatible just in case.Published by yorinasub17 over 3 years ago
aws-provider-patch
[CLI command]aws-provider-patch
where it outputted invalid hcl in certain cases.Published by brikis98 over 3 years ago
providers lock
[CLI command].terraform.lock.hcl
file not only when you run the init
command, but also on the providers lock
command.Published by yorinasub17 over 3 years ago
--terragurnt-debug
[CLI arg]--terragrunt-debug
was not always interpreted correctly.Published by yorinasub17 almost 4 years ago
remote_state
[block]remote_state
blocks in generate mode was nondeterministic. The backend configuration is now deterministically generated in sorted key order.Special thanks to the following users for their contribution:
Published by brikis98 almost 4 years ago
init
..terraform.lock.hcl
), which is new functionality added in Terraform 0.14. Terragrunt will automatically copy the lock file next to your terragrunt.hcl
file, so you should be able to commit it to version control just as with any other Terraform project. Check out the lock file handling documentation for details.Published by yorinasub17 almost 4 years ago
dependency
mock_outputs_allowed_terraform_commands
did not work correctly for nested dependencies.Published by yorinasub17 almost 4 years ago
remote_state
[gcs]gcs
configuration for remote_state
now supports impersonate_service_account
when creating the bucket.Thank you to @ksvladimir for the contribution!
Published by yorinasub17 almost 4 years ago
(none)
xxx-all
commands (e.g., apply-all
) now properly skip the .terragrunt-cache
on Windows.Thank you to @xmclark for the contribution!
Published by brikis98 almost 4 years ago
(none)
xxx-all
commands (e.g., apply-all
) now skip the .terragrunt-cache
entirely when scanning for Terragrunt modules, which should make these commands run faster.Thank you to @awiddersheim for the contribution!
Published by brikis98 almost 4 years ago
(none)
TF_CLI_ARGS
environment variable when calling terraform --version
for an internal version check, which could lead to errors. Terragrunt will now omit this environment variable during this version check.Thank you to @awiddersheim for the fix!
Published by ina-stoyanova almost 4 years ago
(none)
v0.26.1
too quick - when the correct version number was v0.26.0
. However, that's caused problems on other third-party tools using terragrunt
- e.g. brew install terragrunt
was pointing to the non-existing tag v0.26.1
.Published by ina-stoyanova almost 4 years ago
remote_state_s3_test.go
skip_bucket_accesslogging
config optionaccesslogging_bucket_name
config optiongostructToCty
functiongostructToCty
(in config_as_cty.go
) -> goTypeToCty
(fixes issue: #1384)skip_bucket_accesslogging
(fixes issue: #1333)accesslogging_bucket_name
(fixes issue: #1333)You only need to follow this guide if you used Terragrunt v0.18.0 or newer to automatically create S3 buckets as a backend (Auto Init) with access logging. If you created the S3 buckets yourself using other mechanisms, you can skip this guide.
If you used Terragrunt v0.18.0 or newer with Auto Init enabled to create S3 buckets as a backend, then you might be seeing the following bug, described in more details here: https://github.com/gruntwork-io/terragrunt/issues/1333
terragrunt
.Target Bucket
to point to a new S3 bucket dedicated for logs (you may need to create this new bucket yourself, if it doesn't exist already).skip_bucket_accesslogging
setskip_bucket_acesslogging
config option set.skip_bucket_accesslogging
config option.terragrunt plan
- no planned changes should be output & the access logging should still be disabled for the relevant S3 buckets.Caveat: This only applies to new S3 buckets for storing terraform state created by Terragrunt Auto Init. If the bucket already exists, Terragrunt will NOT update the existing S3 bucket.
terragrunt.hcl
files that set up a remote state using S3, and you want to enable server access logging for the S3 bucket the state will be stored in.remote_state.config
section of the configuration file the new config option and replace the value "A VALID S3 BUCKET NAME STRING" with a string
fir the name of your logs Target Bucket
.# terragrunt.hcl
remote_state {
...
config = {
...
accesslogging_bucket_name = "A VALID S3 BUCKET NAME STRING"
...
}
}
terragrunt plan | apply | validate
so that the S3 state bucket new configuration changes can take effectCheck out the docs to read in more detail how to use the new attribute.
Published by yorinasub17 almost 4 years ago
remote_state
; s3
(config block)This release fixes a bug in the auto S3 bucket creation routine, where it will ignore the skip_
flags under certain circumstances where the backend configuration is modified (e.g., modifying the bucket name or object key location).
Published by brikis98 about 4 years ago
aws-provider-patch
(CLI arg)The aws-provider-patch
command now allows you to override attributes in nested blocks: e.g., override the role_arn
attribute in an assume_role { ... }
block. This is to work around yet another Terraform bug with import
.
Published by infraredgirl about 4 years ago
New config attribute:retryable_errors
Retryable errors are now configurable. For more information see the following documentation pages:
Published by yorinasub17 about 4 years ago
remote_state
Previously, Terragrunt logged detailed information about changes in the config for the remote_state
block, which could include secrets. Now these detailed change logs have been demoted to debug
level and will only be logged if debug logging is enabled (environment variable TG_LOG=debug
).
Published by brikis98 about 4 years ago
sops_decrypt_file
sops_decrypt_file
will now cache decrypted files in memory while Terragrunt runs. This can lead to a significant speed up, as it ensures that each unique file path is decrypted at most once per run.Published by brikis98 about 4 years ago
(none)
0.13.x
!
0.13.x
against this repo, so we recommend updating to 0.13.x
soon!