Multiple domain aliases support for Static Site
For use cases where a static site must be accessible under multiple domain names:
CloudFront supports up to 100 alternate domain names with the default quota.
ACM supports up to 100 domain names (only 10 with the default quota).
Currently the Service HTTP alias option for static sites does not support multiple domain aliases:
http:
alias: 'example.com'
The Static Site manifest is defined to only allow a single string: static_site.go
type StaticSiteHTTP struct {
Alias string `yaml:"alias"`
}
Hi @mikereinhold, this looks like a sensible enhancement to me. There shouldn't be any reason in CloudFront that we should limit you to one custom domain.
I would really like to see this improvement be put in. Right now we have no way to add a second domain like if we want to cover www, or have environment URLs along with a production ready URL. If I manually modify cloudfront I risk copilot undoing it.