cdk-turnkey / sredirect

Send redirects for domain names over HTTPS.
Apache License 2.0
0 stars 0 forks source link

Validate the redirect source(s) in bin/ before instantiating the stack #2

Open douglasnaphas opened 2 years ago

douglasnaphas commented 2 years ago

I actually don't think I need extensive validation of the account's rights over the source domain, because if the account doesn't have them, stack deployment will fail when we can't get a cert.

douglasnaphas commented 2 years ago

Note: when you create a hosted zone for a name you don't own, AWS creates a delegation set of name servers associated with that hosted zone. I proved this out in my lab2 account.