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 4 years ago
get_terraform_cli_args
[func]This release fixes a bug in get_terraform_cli_args
function where it would crash when there were no CLI args passed to terraform
.
Thank you to @camlow325 for the fix!
Published by brikis98 over 4 years ago
xxx-all
commands (e.g., apply-all
)The xxx-all
commands will now ignore the Terraform data dir (default .terraform
) when searching for Terragrunt modules.
Thank you to @zachwhaley for the fix!
Published by yorinasub17 over 4 years ago
terragrunt_version_constraint
[config attr]Fixes a bug where having terragrunt_version_constraint
in a config causes terragrunt
to crash when running xxx-all
commands.
Published by robmorgan over 4 years ago
GOOGLE_OAUTH_ACCESS_TOKEN
env var.Thanks to @Jawshua for the contribution!
Published by brikis98 over 4 years ago
get_platform
[new function]Added a new get_platform()
function you can use in your Terragrunt config to get the name of the current operating system (e.g., darwin, freebsd, linux, or windows).
Thanks to @edgarsandi for the contribution!
Published by yorinasub17 over 4 years ago
terragrunt_version_constraint
[config attr]terraform_version_constraint
[config attr]terraform_binary
[config attr]The terragrunt and terraform version checks are now done without parsing the entire configuration.
Published by yorinasub17 over 4 years ago
terragrunt_version_constraint
[config attr] [NEW]This release introduces a new config attribute terragrunt_version_constraint
, which can be used to specify terragrunt versions that the config supports.
Thanks to @jakauppila for the contribution!
Published by yorinasub17 over 4 years ago
sops_decrypt_file
[func] [NEW]This release introduces a new function sops_decrypt_file
, which will decrypt an encrypted file using SOPS.
Thanks to @js-timbirkett for the contribution!
Published by brikis98 over 4 years ago
Fix indentation in the --help
text of Terragrunt.
Thanks to @jereksel for the contribution!
Published by brikis98 over 4 years ago
--terragrunt-parallelism
[new CLI arg]This release introduces a new --terragrunt-parallelism
CLI argument that you can use to limit parallelism when executing xxx-all
commands (e.g. ,apply-all
). This is useful if, for example, you are running apply-all
on a large number of modules, and starting to hit cloud provider rate limits as a result.
Thanks to @mauriciopoppe for the contribution!
Published by yorinasub17 over 4 years ago
get_terraform_cli_args
[function]This release introduces a new function (get_terraform_cli_args
) to introspect terraform args in your terragrunt config. This can be used to conditionally adjust your hooks based on what args are passed in (e.g. plan --destroy
vs. plan
).
Thanks to @camlow325 for the contribution!
Published by yorinasub17 over 4 years ago
remote_state
[block]The automate S3 bucket created by terragrunt with the remote_state
block will now properly handle new accounts that do not have the default s3 KMS key created.
Thanks to @jfharden for the contribution!
Published by yorinasub17 over 4 years ago
get_env
(func)get_terraform_command
(func) [NEW]get_env
can now be made to force an environment variable to be defined. When used with a single argument, the function will error if the environment variable returns empty string.get_terraform_command
which can be used to see what the current executed command by terragrunt
is.Thanks to @hristo-ganekov-sumup and @bernardoVale for the contribution!
Published by yorinasub17 over 4 years ago
N/A
Terragrunt will now auto retry on the error "TooManyUpdates error for SSM param".
Thanks to @ZbigniewZabost for the fix!
Published by brikis98 over 4 years ago
-var
and -var-file
[CLI args]Terragrunt will now correctly omit -var
and -var-file
arguments when you run destroy
with a plan file.
Thanks to @FineWolf for the fix!
Published by yorinasub17 over 4 years ago
generate
[block]generate
blocks now support an optional attribute disable_signature
, which, when true
, will avoid emitting the signature line at the top of the generated file.
Published by yorinasub17 over 4 years ago
terragrunt-source
[CLI Arg]dependency
[block]This fixes a bug where setting --terragrunt-source
on a module with dependencies updated the source of both the current module and the dependency. Starting this version, when using --terragrunt-source
on a module with a dependency the dependency's terraform source will be updated to the combined path using //
as an anchor.
For example, if you had the following configs:
live/vpc/terragrunt.hcl
terraform {
source = "/path/to/my/modules//vpc
}
live/app/terragrunt.hcl
terraform {
source = "/path/to/my/modules//app
}
dependency "vpc" {
config_path = "../vpc"
}
and you ran terragrunt plan --terragrunt-source /alternative//app
in the app module folder (live/app
), the source of the app will be updated to /alternative//app
and the source of the vpc module when reading the dependency will be updated to /alternative//vpc
.
Published by yorinasub17 over 4 years ago
read_terragrunt_config
[function]dependency
[block]This fixes a bug where the relative paths used for read_terragrunt_config
were broken when used in a module that was pulled in with dependency
blocks.
Published by yorinasub17 over 4 years ago
graph-dependencies
[NEW]
This introduces a new command graph-dependencies
which can be used to get a graph representation of the dependency relations between all the modules.
Thanks to @mauriciopoppe for the fix!
Published by brikis98 over 4 years ago
(none)
Fixed formatting in --help
text for Terragrunt.
Thanks to @KyMidd for the fix!