It looks like its possible for the file upload to S3 to succeed, but the graphql Mutation to fail. How do you deal with the zombie files?
You should check out Object Expiration for S3. As part of the mutation, you could then remove the Object expiration, or copy the file to another "persistent" bucket.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.