If that is the case, please explore the "AWS Resource Explorer" to find out the resources under your account and delete unnecessary resource on by one. By the way some of the resources you have to disable first, and then delete those.
You can also find these useful links which may come to assistance.
Please let me know whether this information came any helpful.
It sounds as though this might be an issue programmatically in the console, the InvalidInputException
should be for form submission with the underlying API calls to attach the certificate to the distribution.
I would repeat you steps, but create your distribution with a name that wouldn't be in your certificate. e.g. - anything different from the common name or alternate name in the certificate itself.
Please let us know what you find out. Thanks!
- To view and delete all of your Lightsail Certificates ( related to resources like Distribution and Container Service ) please visit this specific page of the Lightsail console : https://lightsail.aws.amazon.com/ls/webapp/account/certificates
- With regards to the certificate domain validation CNAME records being same, that is NOT due to any certificate being left behind, but instead because, for a fully qualified domain name (FQDN) the validation record remains the same for any certificate in your account to avoid the need to have to re-validate that FQDN for newer certificates with same FQDN or renewed certificate, etc.
- The above error indicates that some FQDN on the certificate is still in use with another resource and this can be a Lightsail load-balancer or container service in any AWS Region, or even be any resource in your account in another AWS service like Cloudfront, etc. Any chance of any such resource existing ?
Relevant content
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 5 months ago
- AWS OFFICIALUpdated a year ago