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
include
[block]Fix bug where exposing include
did not work when referencing in locals
blocks.
https://github.com/gruntwork-io/terragrunt/issues/1721
https://github.com/gruntwork-io/terragrunt/pull/1723
Published by yorinasub17 over 3 years ago
include
[block]You can now access values from included config. E.g., if you want to access a local var region
defined in the parent terragrunt config, you can reference include.locals.region
in the child config.
Note that there are a few limitations/differences with read_terragrunt_config
:
include
references do not include fetched dependencies. This will change in the future.include
references are not automatically available. You must set the new expose
attribute to true
to access the included references.include
block in the child, and you can only include
one level deep (no nested include
s). This will change in the future.(This is the first of several features that implement the Imports RFC)
https://github.com/gruntwork-io/terragrunt/issues/1566
https://github.com/gruntwork-io/terragrunt/pull/1716
Published by yorinasub17 over 3 years ago
run-all
[command]Improved error messaging when multiple errors are returned.
Special thanks to @derom for their contribution!
Published by yorinasub17 over 3 years ago
aws-provider-patch
(command)Improve error messages in aws-provider-patch
when the json input is malformed.
Published by yorinasub17 over 3 years ago
hclfmt
(command)Updated documentation and help text in hclfmt
command to clarify that it works on all files with hcl
extension, not just terragrunt.hcl
.
Special thanks to @edgarsandi for their contribution!
Published by yorinasub17 over 3 years ago
aws-provider-patch
(command)aws-provider-patch
now supports additional data types. Previously aws-provider-patch
only supported patching strings, which made it impossible to patch provider attributes that are not strings (e.g., the allowed_account_ids
attribute of the aws
provider, which is list(string)
type).
Note that to support this, the aws-provider-patch
now expects attribute values to be json encoded when passed in. That means that you need to quote the values in order for it to work. For example, if you previously ran:
terragrunt aws-provider-patch --terragrunt-override-attr region=us-east-2
you need to update the call to:
terragrunt aws-provider-patch --terragrunt-override-attr 'region="us-east-2"'
https://github.com/gruntwork-io/terragrunt/pull/1714
https://github.com/gruntwork-io/terragrunt/issues/1709
Published by yorinasub17 over 3 years ago
yamldecode
(helper function)Fix bug where yamldecode
is unable decode certain forms of yaml.
Special thanks to @andreykaipov for the contribution!
Published by brikis98 over 3 years ago
--terragrunt-include-external-dependencies
You can now configure the --terragrunt-include-external-dependencies
setting via the environment variable TERRAGRUNT_INCLUDE_EXTERNAL_DEPENDENCIES
.
Special thanks to @elebertus for the contribution!
Published by yorinasub17 over 3 years ago
--terragrunt-debug
You can now control the --terragrunt-debug
flag using the TERRAGRUNT_DEBUG
environment variable.
Published by brikis98 over 3 years ago
iam_role
Fix a bug where Terragrunt would not properly assume the IAM role specified via the iam_role
parameter if you were using AWS SSO.
Thank you to @stevie- for the contribution!
Published by brikis98 over 3 years ago
--help
Update the usage text for Terragrunt to reflect that options should go after the command. There should be no impact on Terragrunt's behavior in this release.
Thank you to @Tarasovych for the contribution!
Published by yorinasub17 over 3 years ago
--terragrunt-source-map
[CLI Arg]You can now configure the Terragrunt source map option using the environment variable TERRAGRUNT_SOURCE_MAP
. You can configure multiple mappings using comma separated value encoding. For example, the following configures three mappings:
github.com/org/modules.git=/local/path/to/modules,gitlab.com/org-lab/modules.git=/local/path/to/modules,bitbucket.org/bitorg/modules.git=/local/path/to/modules,gitlab.com/org-lab/modules.git=/local/path/to/modules
Published by brikis98 over 3 years ago
--terragrunt-iam-assume-role-duration
[new CLI Arg]iam_assume_role_duration
[new config]You can now use the new CLI arg and config setting to configure the duration for the IAM role from --terragrunt-iam-role
.
Thank you to @thehunt33r for the contribution!
Published by yorinasub17 over 3 years ago
--terragrunt-source-map
[CLI Arg]This release introduces --terragrunt-source-map
, which can be used to provide multiple mappings to translate terragrunt source URLs in the config with another path. See the documentation for more information.
Published by yorinasub17 over 3 years ago
get_aws_account_id
[func]get_aws_caller_identity_arn
[func]get_aws_caller_identity_user_id
[func]get_aws_**
functions ignored the config file (~/.aws/config
).Published by yorinasub17 over 3 years ago
Published by brikis98 over 3 years ago
Published by brikis98 over 3 years ago
skip_bucket_versioning
skip_bucket_versioning
is set to true
, and you are using GCS as a backend, Terragrunt will not only not enable versioning automatically, but now it will also no longer try to check if versioning is enabled either.Published by brikis98 over 3 years ago
get_terraform_commands_that_need_locking()
init
from the list of commands returned by get_terraform_commands_that_need_locking()
, as init
does not support locking, and as of Terraform 0.15, will exit with an error if you try to use the lock parameters with it.Published by brikis98 over 3 years ago
sops_decrypt_file()
sops
, aws-sdk-go
, and vault
libraries that we depend on. As a result, the sops_decrypt_file()
function should now work with data encrypted via HashiCorp Vault.