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 defaultterragrunt.hcl
) lives. This is primarily useful when one Terragrunt config is being read from another: e.g., if/terraform-code/terragrunt.hcl
callsread_terragrunt_config("/foo/bar.hcl")
, and withinbar.hcl
, you callget_original_terragrunt_dir()
, you'll get back/terraform-code
. - Updated the
generate
andremote_state
settings so that they can be set either as blocks or attributes. This makes it possible to, for example, read these settings fromcommon.hcl
usingread_terragrunt_config
and set them dynamically.