serverless-components / aws-cloudfront

Deploy an AWS CloudFront distribution for the provided origins using Serverless Components
https://serverless.com
Apache License 2.0
27 stars 12 forks source link

Allow existing cloudfront distribution as a param #11

Open NickIannelli opened 5 years ago

NickIannelli commented 5 years ago

Enabler for serverless-next.js ticket.

Currently to maintain a single cloudfront distribution, the .serverless/Template.<>.CloudFront.json file is needing to be committed to the repo.

Ideally, the distribution id should be able to be maintained in a config and dynamically loaded in.