#terragrunt (2021-03)

terragrunt

Terragrunt discussions

Archive: https://archive.sweetops.com/terragrunt/

2021-03-01

2021-03-16

Mohammed Yahya avatar
Mohammed Yahya

https://github.com/gruntwork-io/terragrunt/releases/tag/v0.28.14 now support working_dir to run Terragrunt hooks without cd into folder

Release v0.28.14 · gruntwork-io/terragrunt

Updated CLI args, config attributes and blocks terraform.before_hook [subblock] terraform.after_hook [subblock] Description Hook configurations now accept a working_dir attribute to specify where…

3

2021-03-18

Andy avatar

Suppose you have two projects:

/prod/myproject/alb/terragrunt.hcl
/non-prod/myproject/alb/terragrunt.hcl

which both use:

terraform {
  source = "github.com/terraform-aws-modules/terraform-aws-alb.git?ref=v5.10.0"
}

Is it possible to configure Terragrunt so that both projects can share the downloaded module (stored in .terragrunt_cache) ?

Andy avatar

i.e. just to reduce the amount of downloads.

Andy avatar

Not a big issue but would be nice if it could

joshmyers avatar
joshmyers

Not that I know of, by design. Keeps each state run isolated.

joshmyers avatar
joshmyers

Can cache plugins, not modules.

1
    keyboard_arrow_up