Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for Aliases and ViewerCertificate configuration #14

Open
mdwt opened this issue Feb 24, 2020 · 0 comments
Open

Support for Aliases and ViewerCertificate configuration #14

mdwt opened this issue Feb 24, 2020 · 0 comments

Comments

@mdwt
Copy link

mdwt commented Feb 24, 2020

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.

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

I'll submit the PR if we agree to go ahead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant