Hi does any of the community members use multilpe ...
# terraform
d
Hi does any of the community members use multilpe terraform module to create one master terrafom module and extract in terragrunt, for example master module like
Copy code
module "foo" {
   source = "../modules/vpc"
}


module "bar" {
   source = "../modules/s3"
}
terragrunt
Copy code
# terragrunt.hcl

terraform {
  source = "../modules/master"

  }


inputs {
}
j
Hi David, I’m a member of the Terragrunt team at Gruntwork. What you’re describing is a very common pattern. We refer to it as a service module. The key is that your “child” modules should be well-built as “building block modules” that do one thing well and are meant to be reusable across many modules.
d
@Josh Padnick thank you