I have a use case where I need to delete files from an s3 bucket and I would like to do that while in an alteryx workflow. I can upload and download from s3, but does anyone know how I delete from an s3 bucket?
Hi @Alter_Otter,
Given the built-in Python tool, Python might be an easy way to approach it: there is very good step-by-step detail available at: https://realpython.com/python-boto3-aws-s3
Hope that helps!
John
@JohnJPS very nice tutorial, but it would be neat if Alteryx could replace or delete files from s3 as well
Bump up on this!
Alteryx doesn't really do delete without the run commnad tool - so how about using run command with:
aws s3 rm "your s3 URI" (via .bat file if you so choose).