Open danvaida opened 4 years ago
Hi @danvaida and thanks for the issue.
That was also the idea I had initially. The issue I encountered was that you cannot add VPCs from different regions this way - only the current region of Terraform/Terragrunt.
I was also thinking that it might make more sense for each VPC project to attach themselves to route53 (for private zones) instead of the other way round (this would also eliminate the issue with cross-region).
However, if you can think of an idea to also make the cross-region VPC association work within this module, I'd love to have a PR from you.
Instead of needing to hardcode the VPC IDs when performing the zone association, the module should fetch the IDs dynamically. Filtering can take place based on tags.