Closed GaryNg-R closed 4 years ago
Are you using a Route53 domain, or an external one, e.g. Namecheap etc.?
yes, i am using Route53 domain , i try both to change the NS record and not change still fail
Ok, that means you already have a HostedZone for your Route53 domain I assume. If so, you'd just need to reference the HostedZone via it's ID here:
You can then also comment out https://github.com/tobilg/serverless-aws-static-websites/blob/master/serverless.yml#L42 so that the new HostedZone isn't created.
i had one before.. .but i thought that block the process and i thought the script will generate a new hosted zone for me so i delete it. let me manually create it back and try again later. Thanks
i manually add back a hosted zone, and change the HostedZone ID and comment out the HostedZone.yml, then it just throw another error
Error: The CloudFormation template is invalid: Template format error: Unresolved resource dependencies [HostedZone] in the Resources block of the template
then i uncomment that, it just run into the SSLCertificate - Failed to create resource. Certificate not issued in time. error again
Ah, sorry, you have to comment out the references to the HostedZone resource as well, e.g.
so i try but look like it has AccessDenied error, so what if i delete the HostedZone, and just want the script created everything for me, what i need to do fix the ssl create issue
Thanks for answering my question
just want to see if you have any update, I delete everything and try to deploy everything as new but still not working, it fail on SSLCertificate part
just want to see if you have any update, I delete everything and try to deploy everything as new but still not working, it fail on SSLCertificate part
I find what wrong with that ssl issue...i was update the HostZone ns in the wrong way..i should update my domain ns to match the new hostZone ns .
Great you got it working!
when I first deploy the application, it just come up this error,
SSLCertificate | CREATE_FAILED | Failed to create resource. Certificate not issued in time
i did do the following step in my routh53 to change the NS record
The nameservers you have to configure your domain DNS to can be found under the
NS
record and will look similar to this: