-
Let's say I want to create a new terragrunt project with the following file structure:
Here's an example include "root" {
path = find_in_parent_folders()
}
include "model" {
path = "${dirname(find_in_parent_folders())}/models/module-a/name.hcl"
} Is there a way to automate creating these folders etc with some kind of config file that I would pass to a command like module "accounts" {
source = "./accounts"
module "modules" {
source = "./modules"
}
} And then within Why is this useful?
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Realizing that root of this question is just about keeping terragrunt dry...which is already being discussed in multiple GitHub issues (e.g. gruntwork-io/terragrunt#759). The only thing potentially novel in my post is the idea of a builder that automatically create configurations, but it may make more sense to continue working toward the existing RFC's for now. |
Beta Was this translation helpful? Give feedback.
Realizing that root of this question is just about keeping terragrunt dry...which is already being discussed in multiple GitHub issues (e.g. gruntwork-io/terragrunt#759).
The only thing potentially novel in my post is the idea of a builder that automatically create configurations, but it may make more sense to continue working toward the existing RFC's for now.