terragrunt

Terragrunt is a thin wrapper for Terraform that provides extra tools for working with multiple Terraform modules.

MIT License

Stars
7.6K
Committers
279

Bot releases are hidden (Show)

terragrunt - v0.23.25

Published by yorinasub17 over 4 years ago

Updated CLI args, config attributes and blocks

  • get_terraform_cli_args [func]

Description

This release fixes a bug in get_terraform_cli_args function where it would crash when there were no CLI args passed to terraform.

Special thanks

Thank you to @camlow325 for the fix!

Related links

terragrunt - v0.23.24

Published by brikis98 over 4 years ago

Updated CLI args, config attributes and blocks

  • xxx-all commands (e.g., apply-all)

Description

The xxx-all commands will now ignore the Terraform data dir (default .terraform) when searching for Terragrunt modules.

Special thanks

Thank you to @zachwhaley for the fix!

Related links

terragrunt - v0.23.23

Published by yorinasub17 over 4 years ago

Updated CLI args, config attributes and blocks

  • terragrunt_version_constraint [config attr]

Description

Fixes a bug where having terragrunt_version_constraint in a config causes terragrunt to crash when running xxx-all commands.

Related links

terragrunt - v0.23.22

Published by robmorgan over 4 years ago

Updated CLI args, config attributes and blocks

  • (none)

Description

  • Fixes a bug in the config comparison function gcsConfigValuesEqual that was deleting Terragrunt specific config values from the source configuration.
  • Enables GCS authentication using a fixed token defined in the GOOGLE_OAUTH_ACCESS_TOKEN env var.

Special thanks

Thanks to @Jawshua for the contribution!

Related links

terragrunt - v0.23.21

Published by brikis98 over 4 years ago

Updated CLI args, config attributes and blocks

  • get_platform [new function]

Description

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).

Special thanks

Thanks to @edgarsandi for the contribution!

Related links

terragrunt - v0.23.20

Published by yorinasub17 over 4 years ago

Updated CLI args, config attributes and blocks

  • terragrunt_version_constraint [config attr]
  • terraform_version_constraint [config attr]
  • terraform_binary [config attr]

Description

The terragrunt and terraform version checks are now done without parsing the entire configuration.

Related links

terragrunt - v0.23.19

Published by yorinasub17 over 4 years ago

Updated CLI args, config attributes and blocks

  • terragrunt_version_constraint [config attr] [NEW]

Description

This release introduces a new config attribute terragrunt_version_constraint, which can be used to specify terragrunt versions that the config supports.

Special thanks

Thanks to @jakauppila for the contribution!

Related links

terragrunt - v0.23.18

Published by yorinasub17 over 4 years ago

Updated CLI args, config attributes and blocks

  • sops_decrypt_file [func] [NEW]

Description

This release introduces a new function sops_decrypt_file, which will decrypt an encrypted file using SOPS.

Special thanks

Thanks to @js-timbirkett for the contribution!

Related links

terragrunt - v0.23.17

Published by brikis98 over 4 years ago

Updated CLI args, config attributes and blocks

  • (none)

Description

Fix indentation in the --help text of Terragrunt.

Special thanks

Thanks to @jereksel for the contribution!

Related links

terragrunt - v0.23.16

Published by brikis98 over 4 years ago

Updated CLI args, config attributes and blocks

  • --terragrunt-parallelism [new CLI arg]

Description

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.

Special thanks

Thanks to @mauriciopoppe for the contribution!

Related links

terragrunt - v0.23.15

Published by yorinasub17 over 4 years ago

Updated CLI args, config attributes and blocks

  • get_terraform_cli_args [function]

Description

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).

Special thanks

Thanks to @camlow325 for the contribution!

Related links

terragrunt - v0.23.14

Published by yorinasub17 over 4 years ago

Updated CLI args, config attributes and blocks

  • remote_state [block]

Description

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.

Special thanks

Thanks to @jfharden for the contribution!

Related links

terragrunt - v0.23.13

Published by yorinasub17 over 4 years ago

Updated CLI args, config attributes and blocks

  • get_env (func)
  • get_terraform_command (func) [NEW]

Description

  • 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.
  • This release introduces a new helper function, get_terraform_command which can be used to see what the current executed command by terragrunt is.

Special thanks

Thanks to @hristo-ganekov-sumup and @bernardoVale for the contribution!

Related links

terragrunt - v0.23.12

Published by yorinasub17 over 4 years ago

Updated CLI args, config attributes and blocks

N/A

Description

Terragrunt will now auto retry on the error "TooManyUpdates error for SSM param".

Special thanks

Thanks to @ZbigniewZabost for the fix!

Related links

terragrunt - v0.23.11

Published by brikis98 over 4 years ago

Updated CLI args, config attributes and blocks

  • -var and -var-file [CLI args]

Description

Terragrunt will now correctly omit -var and -var-file arguments when you run destroy with a plan file.

Special thanks

Thanks to @FineWolf for the fix!

Related links

terragrunt - v0.23.10

Published by yorinasub17 over 4 years ago

Updated CLI args, config attributes and blocks

  • generate [block]

Description

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.

Related links

terragrunt - v0.23.9

Published by yorinasub17 over 4 years ago

Updated CLI args, config attributes and blocks

  • terragrunt-source [CLI Arg]
  • dependency [block]

Description

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.

Related links

terragrunt - v0.23.8

Published by yorinasub17 over 4 years ago

Updated CLI args, config attributes and blocks

  • read_terragrunt_config [function]
  • dependency [block]

Description

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.

Related links

terragrunt - v0.23.7

Published by yorinasub17 over 4 years ago

Updated CLI args, config attributes and blocks

graph-dependencies [NEW]

Description

This introduces a new command graph-dependencies which can be used to get a graph representation of the dependency relations between all the modules.

Special thanks

Thanks to @mauriciopoppe for the fix!

Related links

terragrunt - v0.23.6

Published by brikis98 over 4 years ago

Updated CLI args, config attributes and blocks

(none)

Description

Fixed formatting in --help text for Terragrunt.

Special thanks

Thanks to @KyMidd for the fix!

Related links