move-coop / parsons

A python library of connectors for the progressive community.
https://www.parsonsproject.org/
Other
259 stars 131 forks source link

Pass use_env_token to to_s3_csv #822

Closed codygordon closed 1 year ago

codygordon commented 1 year ago

This should extend the fix to functions using to_s3_csv (when False is passed) for the error which only appears in Lambda prod (using the same keys as when running locally):

S3UploadFailedError: Failed to upload /tmp/[...].zip to ephemeral-jobs-internal/[...].zip: An error occurred (InvalidToken) when calling the PutObject operation: The provided token is malformed or otherwise invalid.
codygordon commented 1 year ago

@crayolakat flagging for review