github gruntwork-io/terragrunt v0.28.21

latest releases: v0.57.8, v0.57.7, v0.57.6...
3 years ago

Updated CLI args, config attributes and blocks

  • get_original_terragrunt_dir() [NEW]
  • generate
  • remote_state

Description

  • Added a new get_original_terragrunt_dir() helper, which returns the directory where the original Terragrunt configuration file (by default terragrunt.hcl) lives. This is primarily useful when one Terragrunt config is being read from another: e.g., if /terraform-code/terragrunt.hcl calls read_terragrunt_config("/foo/bar.hcl"), and within bar.hcl, you call get_original_terragrunt_dir(), you'll get back /terraform-code.
  • Updated the generate and remote_state settings so that they can be set either as blocks or attributes. This makes it possible to, for example, read these settings from common.hcl using read_terragrunt_config and set them dynamically.

Related links

Don't miss a new terragrunt release

NewReleases is sending notifications on new releases.