locals { environment_vars = read_terragrunt_config(find_in_parent_folders("env.hcl")) partition_vars = read_terragrunt_config(find_in_parent_folders("partition.hcl")) region_vars = read_terragrunt_config(find_in_parent_folders("region.hcl")) account_vars = read_terragrunt_config(find_in_parent_folders("account.hcl")) global_vars = read_terragrunt_config(find_in_parent_folders("globals.hcl")) } terraform { # Double slash is intentional and required to show root of modules source = "git@github.mdr.defpoint.com:mdr-engineering/xdr-terraform-modules.git//base/dns/private_dns?ref=v1.20.1" } dependency "vpc_system_services" { config_path = "../010-vpc-system-services" } include { path = find_in_parent_folders() } inputs = { tags = { Terraform = "aws/${basename(get_parent_terragrunt_dir())}/${path_relative_to_include()}/" } vpcs = [ dependency.vpc_system_services.outputs.vpc_id ] # can add more if desired subnets = dependency.vpc_system_services.outputs.private_subnets }