mirror of
https://github.com/floci-io/floci.git
synced 2026-12-05 19:18:01 -05:00
CreateUserPoolDomain built its CloudFrontDistribution by hand from 14 hex characters with no leading d, unlike the names an edge-optimized API Gateway domain and an AppSync custom domain get. Use CloudFrontEdgeDomain.create, so the name is d plus 13 hex on the partition's suffix. The name is stored, so existing domains keep theirs. Signed-off-by: Hector Ventura <hectorvent@gmail.com>