We mirrored some modules , which use external submodules. As example we mirrored terraform-aws-rds-cluster module: https://github.com/cloudposse/terraform-aws-rds-cluster/blob/master/main.tf#L346 And this module use external submodule:
module "dns_replicas" {
source = "cloudposse/route53-cluster-hostname/aws"
We dont have access to internet and we dont want to update source values in hundreds mirrored modules manually.
Is it possible to override source value in terraform init for "cloudposse/..." to pickup from private tf registry e.g. from https://myterraform-registry.com/... ?