Clone destination path from the original file which is another S3 bucket?
UsmanJ opened this issue · 1 comments
UsmanJ commented
Hi guys,
So essentially user will upload an image to S3 using the frontend, the image will have a path in the S3 bucket for example Bucket1/companyName/logo.jpg
. I want the lambda function to resize the image and put the file as destination Bucket2/companyName/logo.jpg
- a different S3 bucket but same path.
How can I go about feeding the lambda function the destination paths rather than having a static destination path?
I hope this makes sense.
UsmanJ commented
Solved using template.