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 brikis98 about 4 years ago
Auto Init
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.
Thank you to @lazzurs for the PR!
Published by yorinasub17 about 4 years ago
dependency
Terragrunt will now use the terragrunt download directory for setting up shallow dependency fetching as described in the dependency optimization documentation.
Published by brikis98 about 4 years ago
Auto Retry
Terragrunt will now automatically retry on several different flavors of the "429 Too Many Requests" error from app.terraform.io.
Special thanks to @robbruce for the contribution!
Published by brikis98 about 4 years ago
Auto Retry
Terragrunt will now automatically retry commands if it gets a "429 Too Many Requests" error from app.terraform.io.
Special thanks to @robbruce for the contribution!
Published by yorinasub17 about 4 years ago
remote_state
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 to @kwilczynski for their contribution!
Published by brikis98 about 4 years ago
aws-provider-patch
[NEW CLI COMMAND]
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:
init
to download the code for all your modules into .terraform/modules
..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.
Published by yorinasub17 about 4 years ago
dependency
This fixes dependency config loading for Windows.
Special thanks to @bltavares for their contribution!
Published by yorinasub17 about 4 years ago
dependency
A further optimization is made to the dependency fetch optimization routine, where plugin installs are skipped.
Published by yorinasub17 about 4 years ago
dependency
generate
mode.remote_state
block: disable_dependency_optimization = true
.Published by yorinasub17 about 4 years ago
dependency
This fixes a bug that was introduced in the dependency retrieval optimization, where it was not accounting for IAM role assume configurations.
Published by yorinasub17 about 4 years ago
dependency
There is now an optimization on dependency
output fetching if certain conditions are met. See the updated docs for more information.
Published by yorinasub17 about 4 years ago
Starting this release you can use the provided Makefile
to build the terragrunt binary with make build
.
Special thanks to @salewski for their contribution!
Published by yorinasub17 about 4 years ago
--terragrunt-debug
[CLI]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 to @eboto for the initial contribution!
https://github.com/gruntwork-io/terragrunt/pull/1137
https://github.com/gruntwork-io/terragrunt/pull/1263
Published by yorinasub17 about 4 years ago
terraform
[block]dependency
[block]dependency
block references in subblocks of the terraform
block with xxx-all
commands.dependency
blocks ran irrelevant hooks when retrieving outputs.https://github.com/gruntwork-io/terragrunt/pull/1276
https://github.com/gruntwork-io/terragrunt/pull/1275
Published by brikis98 over 4 years ago
prevent_destroy
[config attribute]Fix a bug where if you set prevent_destroy
in a root terragrunt.hcl
, it would override any values in child terragrunt.hcl
files.
Thank you to @alexkayabula for the PR!
Published by brikis98 over 4 years ago
terraform_version_constraint
[config attribute]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)
).
Thank you to @artemsablin for the PR!
Published by yorinasub17 over 4 years ago
--terragrunt-working-dir
[CLI arg]You can now set the terragrunt working directory using the environment variable TERRAGRUNT_WORKING_DIR
.
Published by brikis98 over 4 years ago
plan-all
Error with plan:
for plan-all
commands when there was no error.Thank you to @alexkayabula for the contributions!
Published by brikis98 over 4 years ago
Terragrunt's color output should now work correctly on Windows.
Thank you to @jereksel for the fix!
Published by yorinasub17 over 4 years ago
Terragrunt now considers terraform json files (e.g., .tf.json
) as valid terraform code when validating if modules contain Terraform.
Thank you to @atlaskerr for the fix!