Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for Route 53 IP Based Routing Policy #25321

Closed
mendhak opened this issue Jun 14, 2022 · 7 comments · Fixed by #29407
Closed

Add support for Route 53 IP Based Routing Policy #25321

mendhak opened this issue Jun 14, 2022 · 7 comments · Fixed by #29407
Assignees
Labels
enhancement Requests to existing resources that expand the functionality or scope. service/route53 Issues and PRs that pertain to the route53 service.

Comments

@mendhak
Copy link

mendhak commented Jun 14, 2022

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Description

AWS has introduced a new Route 53 IP Based Routing Policy, see: https://aws.amazon.com/blogs/networking-and-content-delivery/introducing-ip-based-routing-for-amazon-route-53/

It seems there is a pre-step to using it though.
First you have to create a CIDR Collection, and associate some CIDRs with it
Then you can create a Route 53 record with a value for the above collection, and another value for '*'.

New or Affected Resource(s)

  • aws_route53_record

References

@mendhak mendhak added the enhancement Requests to existing resources that expand the functionality or scope. label Jun 14, 2022
@github-actions github-actions bot added needs-triage Waiting for first response or review from a maintainer. service/route53 Issues and PRs that pertain to the route53 service. labels Jun 14, 2022
@justinretzolk justinretzolk removed the needs-triage Waiting for first response or review from a maintainer. label Jun 16, 2022
@bschaatsbergen
Copy link
Member

bschaatsbergen commented Jun 30, 2022

Hi @mendhak,

Thanks for taking the time to raise this feature request. I'll happily look into this and see if I can figure this one out.

@bschaatsbergen
Copy link
Member

bschaatsbergen commented Jun 30, 2022

I think that we're going to have to create a new route53 resource called aws_route53_cidr_collection which can be used to refer to a CIDR location in the IP-based routing policy (the IP-based routing policy is to be added as part of the aws_route53_record resource.

@bschaatsbergen
Copy link
Member

bschaatsbergen commented Jul 12, 2022

Started to actively work on this, going to take some time as the API is very poorly designed.

@bschaatsbergen
Copy link
Member

On hold for a moment; checking together with @ewbankkit on how to nicely integrate this with the existing Route53 CidrCollection API.

@Hexta
Copy link

Hexta commented Sep 5, 2022

Hello @bschaatsbergen
Sorry for pinging you.
Is there any chance this feature will be implemented?

@ewbankkit ewbankkit self-assigned this Feb 14, 2023
@ewbankkit
Copy link
Contributor

ewbankkit commented Feb 14, 2023

I think we'll go with 2 new resource:

  • aws_route53_cidr_collection
  • aws_route53_cidr_location

and add a cidr_routing_policy configuration block to aws_route53_record.

@github-actions
Copy link

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 18, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement Requests to existing resources that expand the functionality or scope. service/route53 Issues and PRs that pertain to the route53 service.
Projects
None yet
6 participants