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

undeploy should remove Route53 entries if the distribution matches #391

Open
Miserlou opened this issue Oct 12, 2016 · 3 comments
Open

undeploy should remove Route53 entries if the distribution matches #391

Miserlou opened this issue Oct 12, 2016 · 3 comments

Comments

@Miserlou
Copy link
Owner

Currently this must be done manually

@mcrowson
Copy link
Collaborator

mcrowson commented Oct 13, 2016

It looks like you also have to go to the API GW and remove the Custom Domain Names entry. I did the manual removal in API GW and R53 but still get this error:


Waiting for DNS to propagate..
An error occurred (BadRequestException) when calling the CreateDomainName operation: The domain name you provided is already associated with an existing CloudFront distribution. 
Remove the domain name from the existing CloudFront distribution or use a different domain name. 
If you own this domain name and are not using it on an existing CloudFront distribution, please contact support.
Failed to generate or install certificate! :(

@jnmclarty
Copy link

I did both manually (Remove Route 53 entry, and API GW Custom Domain), and am now experiencing the same problem as @mcrowson trying to certify a new domain. Any tips? I might be able to send a PR, if the maintainers could give some guidance. I'm using the latest zappa version on pypi.

@chromakey
Copy link

After manually removing the custom domain name, you have to wait about 40 minutes until you can certify again. Most changes to CloudFront (the backend for the custom domain name feature) take anywhere from 20-40 minutes to be pushed out across Amazon's edge network.

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

No branches or pull requests

4 participants