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

fix(CF Stack): Route53DependencyLambda zone matching logic #103

Open
wants to merge 10 commits into
base: master
Choose a base branch
from

Conversation

ghost
Copy link

@ghost ghost commented Jan 12, 2021

This PR adjusts the matching logic present in the Route53DependencyLambda section of the CloudFormation Stack.

We found that by excluding the properties.Domain.split(".") logic and instead simply comparing zone.Name with properties.Domain + '.' we were able to spin up a new instance of Hubs using a sub-domain who's root domain was not hosted on Route53. This means that both Domain Recipe 1 and 2 are able to be used on any given domain name as long as that domain has a Route53 Hosted Zone. It might, we haven't tested it, also mean that the .co.uk bug should also be fixed.

IE:

  • hubs.mydomain.com can have NS records pointing to a Route53 Hosted Zone
  • mydomain.com can be hosted with another DNS provider
  • hubs.mydomain.com can still be used as the external hosted zone when creating a Hubs instance

Previously:

  • hubs.mydomain.com and mydomain.com both had to be hosted via Route53

@BMO-tech
Copy link

BMO-tech commented Apr 9, 2021

👋 Just a heads up for anyone who comes across this PR. I deleted the original user that created this, which is why it's now a "ghost". I'm still here and still interested in having this PR merged.

Thanks ^_^

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants