aws-network-hub-for-terraform
aws-network-hub-for-terraform copied to clipboard
Use inbound IPs for forwarding Route 53 requests
Issue #, if available: #25 Description of changes: As per issue #25 raised by @liamraeAL
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Changed to Draft pending further investigation. With the change proposed here a new deployment fails with:
╷
│ Error: error creating Route 53 Resolver rule association: InvalidRequestException: [RSLVR-00804] Cannot associate rule rslvr-rr-b86d94d3af4a49f19 to VPC vpc-0d456111099e0ace4 because the VPC include an INBOUND resolver endpoints with rule's target IP. Please try a different rule or update rule's target IP.
│
│ with module.dns.aws_route53_resolver_rule_association.org_dns,
│ on ../modules/dns-hub/[dns.tf](http://dns.tf/) line 99, in resource "aws_route53_resolver_rule_association" "org_dns":
│ 99: resource "aws_route53_resolver_rule_association" "org_dns" {
│
╵