Open mdwt opened 4 years ago
I would like to discuss a new feature to be able to specify Aliases and ViewerCertificate (similar to #13 ) in order to specify multiple CNAME values as well as a certificate ARN that covers all CNAMEs.
Aliases
ViewerCertificate
The serverless config can be something like this:
# serverless.yml distribution: component: '@serverless/aws-cloudfront' inputs: region: us-east-1 ... certificateArn: <acmCertArn> aliases: - <cname1> - <cname2>
which is then processed in createCloudFrontDistribution / updateCloudFrontDistribution
createCloudFrontDistribution
updateCloudFrontDistribution
I'll submit the PR if we agree to go ahead.
I would like to discuss a new feature to be able to specify
Aliases
andViewerCertificate
(similar to #13 ) in order to specify multiple CNAME values as well as a certificate ARN that covers all CNAMEs.The serverless config can be something like this:
which is then processed in
createCloudFrontDistribution
/updateCloudFrontDistribution
I'll submit the PR if we agree to go ahead.