Skip to content
Discussion options

You must be logged in to vote

Hello,
configuration can be extracted to separated HCL file and loaded in parent file through read_terragrunt_config() using functions to get paths get_terragrunt_dir() or path_relative_to_include()

I also prepared simplified example in https://github.com/denis256/terragrunt-tests/tree/master/discussion-734

References:

https://terragrunt.gruntwork.io/docs/reference/built-in-functions/#read_terragrunt_config
https://terragrunt.gruntwork.io/docs/reference/built-in-functions/#get_terragrunt_dir
https://terragrunt.gruntwork.io/docs/reference/built-in-functions/#path_relative_to_include

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@tracphil
Comment options

@scr-oath
Comment options

Answer selected by tracphil
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment