Skip to content
Discussion options

You must be logged in to vote

Hi,
AFAIK, it depends on how big are dissimilarities:

  • can be used dependency block and outputs passed to application-cache - but it will require to extract terraform code as separated module and reference it in Terragrunt
  • can be used generate block to put custom code in the module directory before the invocation of Terraform

References:
https://terragrunt.gruntwork.io/docs/reference/config-blocks-and-attributes/#dependency
https://terragrunt.gruntwork.io/docs/reference/config-blocks-and-attributes/#generate

I also created some examples using generate and dependency in https://github.com/denis256/terragrunt-tests/tree/master/discussion-559

I hope this helps

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@pieterbreed
Comment options

Answer selected by yorinasub17
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment