Error uploading PDF to AWS S3

Hi there, I have the following workflow:

  1. Trigger that returns JSON body
  2. Custom code generates PDF from JSON values
  3. PDF is uploaded to Google Drive

Using Google Drive was just for testing purposes. I am wanting to move my PDF upload to AWS S3, which we use for the rest of our documentation. However, I am running into a little issue with the step not liking the tmp file path. Does anyone have experience with using AWS S3 in Pipedream?