samvera / serverless-iiif

IIIF Image API 2.1 & 3.0 server in an AWS Serverless Application
https://samvera.github.io/serverless-iiif/
Apache License 2.0
71 stars 23 forks source link

Refactor project into standalone & CloudFront varieties; remove API Gateway #65

Closed mbklein closed 2 years ago

mbklein commented 2 years ago

This PR addresses eliminates the API Gateway Stage issue by replacing the API Gateway (which only ever defined a single resource anyway) with a Lambda Function URL. It also splits the deployment package into separate SAM templates – one for standalone (lambda-only) and another for the CloudFront/caching/6MB workaround-enabled version.

Specific changes:

I haven't been able to publish this version to the Serverless Application Repository yet because of aws/serverless-application-model/#2421, but I'll keep watch on that issue and update when I can.