sst / ion

SST v3
https://sst.dev
MIT License
1.9k stars 226 forks source link

Redirects are not supported when DNS is disabled #854

Open AlissonRS opened 1 month ago

AlissonRS commented 1 month ago

Would be nice if this was supported, as long as we provided an existing ACM Certificate ARN.

SST would take care of creating the extra distribution + S3 Website for redirects, with the appropriate alternate domain name and the ACM Certificate.

This is useful if DNS is not managed within AWS, so we'd just need to take care of creating the CNAME records pointing to the cloudfront hostnames.

As of now, adding redirects makes SST try creating a new ACM Certificate and ignore the ARN provided, which is a related issue logged here #853

fwang commented 1 month ago

@AlissonRS given #853 is supported, is this issue resolved?