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

Support custom ID for origins #23

Open lukemarshdv opened 4 years ago

lukemarshdv commented 4 years ago

We currently use Terraform for our CloudFront configuration and our origins have a custom ID.

I'm using the serverless-next.js plugin and it would a good idea to allow a custom origin ID if specified or just use the host as it does now.

pradyumna1 commented 4 years ago

@danielcondemarin this feature is already supported in serverless-next.js repository's cloudfront component, right? I am talking about this PR: https://github.com/serverless-nextjs/serverless-next.js/pull/508