I'm trying to call multiple modules from terragrunt. I understand that currently, terragrunt doesn't support multiple sources and we can only call one module at a time. So, I created a main.tf file to frontend multiple modules.
# main.tf
module "foo" {
source = "../modules/vpc"
}
module "bar" {
source = "../modules/s3"
}
Inside terragrunt calling main.tf as a source, thinking that will call module foo and module bar.
# terragrunt.hcl
terraform {
source = "./main.tf
}
inputs {
}
Is this possible using terragrunt? I need to group multiple terraform modules at once.