Prevent creating duplicated images using strapi-provider-upload-aws-s3

System Information
  • Strapi Version: 3.5.4
  • Operating System:
  • Database: Postgres
  • Node Version:
  • NPM Version:
  • Yarn Version:

We’re using strapi-provider-upload-aws-s3 to upload images. When we’re creating a new post with an image that’s already existing, a new copy of the image is created in S3.

This is great for most use cases I’m sure, but we’re mainly publishing posts with already existing images, so our S3 gets just filled up with a lot of duplicates of identical images. How can we instead make Strapi use the same image that has already been uploaded?