serverless-docker-image-resize
serverless-docker-image-resize copied to clipboard
Image is not resizing.
I've cloned your repo to my local system.
then update a details SSL_KEY, SLS_SECRET, STAGE, REGION, BUCKET in secrets.env file.
I want to use node version 10 so I change it to bucket/serverless.yml and functions/serverless.yml and Dockerfile.
At last, I run command docker-compose up --build
I kept en eye on the output of a docker-compose command and everything is set up nicely.
it has created 2 S3 bucket image-resize-on-the-fly-serverlessdeploymentbuck-15sulaxg0lhop, image-resize-on-the-fly-serverlessdeploymentbuck-2lofzjreudgm and one bucket that I updated in secrets.env file to store images. two cloudformation stacks image-resize-on-the-fly-bucket-dev and image-resize-on-the-fly-functions-dev and one lambda function.
then I upload an image to S3 bucket. : S3_BUCKET_URL/image.jpg and I can access this URL.
Then I tried S3_BUCKET_URL/500x500/image.jpg but it's given me an error and I've attached error screen. it's not creating resize image.
Any help would be grateful.

You have to access the CloudFront URL not the S3 bucket URL. The S3 bucket is often not public-facing.