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

Published by brikis98 about 4 years ago

Updated CLI args, config attributes and blocks

  • Auto Init

Description

When creating an S3 bucket for state storage, Terragrunt will now add an IAM policy that only allows the S3 bucket to be accessed via TLS. You can disable this policy (NOT recommended!) via the skip_bucket_enforced_tls setting.

Special thanks

Thank you to @lazzurs for the PR!

Related links

terragrunt - v0.24.3

Published by yorinasub17 about 4 years ago

Updated CLI args, config attributes and blocks

  • dependency

Description

Terragrunt will now use the terragrunt download directory for setting up shallow dependency fetching as described in the dependency optimization documentation.

Related links

terragrunt - v0.24.2

Published by brikis98 about 4 years ago

Updated CLI args, config attributes and blocks

  • Auto Retry

Description

Terragrunt will now automatically retry on several different flavors of the "429 Too Many Requests" error from app.terraform.io.

Special thanks

Special thanks to @robbruce for the contribution!

Related links

terragrunt - v0.24.1

Published by brikis98 about 4 years ago

Updated CLI args, config attributes and blocks

  • Auto Retry

Description

Terragrunt will now automatically retry commands if it gets a "429 Too Many Requests" error from app.terraform.io.

Special thanks

Special thanks to @robbruce for the contribution!

Related links

terragrunt - v0.24.0

Published by yorinasub17 about 4 years ago

Updated CLI args, config attributes and blocks

  • remote_state

Description

The lock_table attribute for the s3 remote state backend is now marked as deprecated and terragrunt will automatically convert it to the preferred dynamodb_table attribute. This means that existing configurations using the lock_table attribute will need to be reinitialized.

Special thanks

Special thanks to @kwilczynski for their contribution!

Related links

terragrunt - v0.23.40

Published by brikis98 about 4 years ago

Updated CLI args, config attributes and blocks

  • aws-provider-patch [NEW CLI COMMAND]

Description

We've added a new aws-provider-patch command that can be used to override attributes in nested provider blocks. This is an attempt at a hacky workaround for a Terraform bug where import does not work if you are using any modules that have provider blocks with dynamic variables nested within them. With this release, you can run:

terragrunt aws-provider-patch --terragrunt-override-attr region=eu-west-1

And Terragrunt will:

  1. Run init to download the code for all your modules into .terraform/modules.
  2. Scan all the Terraform code in .terraform/modules, find AWS provider blocks, and hard-code the region param to eu-west-1 for each one.

Once you do this, you'll hopefully be able to run import on that module. After that, you can delete the modified .terraform/modules and go back to normal.

Related links

terragrunt - v0.23.39

Published by yorinasub17 about 4 years ago

Updated CLI args, config attributes and blocks

  • dependency

Description

This fixes dependency config loading for Windows.

Special thanks

Special thanks to @bltavares for their contribution!

Related links

https://github.com/gruntwork-io/terragrunt/pull/1320

terragrunt - v0.23.38

Published by yorinasub17 about 4 years ago

Updated CLI args, config attributes and blocks

  • dependency

Description

A further optimization is made to the dependency fetch optimization routine, where plugin installs are skipped.

Related links

https://github.com/gruntwork-io/terragrunt/pull/1321

terragrunt - v0.23.37

Published by yorinasub17 about 4 years ago

Updated CLI args, config attributes and blocks

  • dependency

Description

  • You can now benefit from dependency optimization even if you are not managing remote state in generate mode.
  • You can now disable dependency optimization using a feature flag on the remote_state block: disable_dependency_optimization = true.

Related links

https://github.com/gruntwork-io/terragrunt/pull/1315

terragrunt - v0.23.36

Published by yorinasub17 about 4 years ago

Updated CLI args, config attributes and blocks

  • dependency

Description

This fixes a bug that was introduced in the dependency retrieval optimization, where it was not accounting for IAM role assume configurations.

Related links

https://github.com/gruntwork-io/terragrunt/pull/1315

terragrunt - v0.23.35

Published by yorinasub17 about 4 years ago

Updated CLI args, config attributes and blocks

  • dependency

Description

There is now an optimization on dependency output fetching if certain conditions are met. See the updated docs for more information.

Related links

https://github.com/gruntwork-io/terragrunt/pull/1311

terragrunt - v0.23.34

Published by yorinasub17 about 4 years ago

Updated CLI args, config attributes and blocks

  • Makefile

Description

Starting this release you can use the provided Makefile to build the terragrunt binary with make build.

Special thanks

Special thanks to @salewski for their contribution!

Related links

https://github.com/gruntwork-io/terragrunt/pull/1308

terragrunt - v0.23.33

Published by yorinasub17 about 4 years ago

Updated CLI args, config attributes and blocks

  • --terragrunt-debug [CLI]

Description

This release introduces a new CLI flag --terragrunt-debug which can be used to initiate debug mode for terragrunt. In debug mode, terragrunt will emit a terragrunt-generated.tfvars.json file into the terragrunt directory which you can use to inspect what TF variable inputs are being passed to terraform. See the docs to learn more.

Special thanks

Special thanks to @eboto for the initial contribution!

Related links

https://github.com/gruntwork-io/terragrunt/pull/1137
https://github.com/gruntwork-io/terragrunt/pull/1263

terragrunt - v0.23.32

Published by yorinasub17 about 4 years ago

Updated CLI args, config attributes and blocks

  • terraform [block]
  • dependency [block]

Description

  • You can now use dependency block references in subblocks of the terraform block with xxx-all commands.
  • Fix bug where dependency blocks ran irrelevant hooks when retrieving outputs.

Related links

https://github.com/gruntwork-io/terragrunt/pull/1276
https://github.com/gruntwork-io/terragrunt/pull/1275

terragrunt - v0.23.31

Published by brikis98 over 4 years ago

Updated CLI args, config attributes and blocks

  • prevent_destroy [config attribute]

Description

Fix a bug where if you set prevent_destroy in a root terragrunt.hcl, it would override any values in child terragrunt.hcl files.

Special thanks

Thank you to @alexkayabula for the PR!

Related links

https://github.com/gruntwork-io/terragrunt/pull/1223

terragrunt - v0.23.30

Published by brikis98 over 4 years ago

Updated CLI args, config attributes and blocks

  • terraform_version_constraint [config attribute]

Description

Terragrunt will now correctly parse and check Terraform version numbers for full releases (e.g., Terraform 0.12.23), beta releases (e.g., Terraform 0.13.0-beta2), and dev builds (e.g., Terraform v0.9.5-dev (cad024a5fe131a546936674ef85445215bbc4226+CHANGES)).

Special thanks

Thank you to @artemsablin for the PR!

Related links

terragrunt - v0.23.29

Published by yorinasub17 over 4 years ago

Updated CLI args, config attributes and blocks

  • --terragrunt-working-dir [CLI arg]

Description

You can now set the terragrunt working directory using the environment variable TERRAGRUNT_WORKING_DIR.

Related links

terragrunt - v0.23.28

Published by brikis98 over 4 years ago

Updated CLI args, config attributes and blocks

  • plan-all

Description

  • Terragrunt will no longer incorrectly print Error with plan: for plan-all commands when there was no error.
  • Terragrunt will now log the Terraform version when debug mode is enabled.

Special thanks

Thank you to @alexkayabula for the contributions!

Related links

terragrunt - v0.23.27

Published by brikis98 over 4 years ago

Updated CLI args, config attributes and blocks

  • (none)

Description

Terragrunt's color output should now work correctly on Windows.

Special thanks

Thank you to @jereksel for the fix!

Related links

terragrunt - v0.23.26

Published by yorinasub17 over 4 years ago

Updated CLI args, config attributes and blocks

  • main CLI

Description

Terragrunt now considers terraform json files (e.g., .tf.json) as valid terraform code when validating if modules contain Terraform.

Special thanks

Thank you to @atlaskerr for the fix!

Related links