aws-samples / aws-lambda-ddns-function

Dynamically create Route 53 resource records using CloudWatch Events and Lambda
Apache License 2.0
236 stars 115 forks source link

Public and Private Route 53 with same name. #24

Closed nickkadams closed 5 years ago

nickkadams commented 7 years ago

We have 2 Route 53 domains (public and private) that share the same TLD name. The lambda function works, but always updates the public zone only. I only want to update the private zone. I was curious if this was on a feature roadmap before I considered any refactor or code removal for my use case. Thanks!

spatronis commented 5 years ago

I see that this issue was just closed 5 days ago, but this just came up for me. We are having the same issue with two hosted zones (one private and one public) sharing the same TLD. Only the public hosted zone is getting updated. Is there a way to pin it to the private hosted zone only?

spatronis commented 5 years ago

Now that I am digging around, I see that this scenario may be covered by: https://github.com/aws-samples/aws-lambda-ddns-function/pull/12