Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.

How to delete from s3

Alter_Otter
5 - Atom

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?

4 REPLIES 4
JohnJPS
15 - Aurora

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

 

Amadeu_gustavo
7 - Meteor

@JohnJPS very nice tutorial, but it would be neat if Alteryx could replace or delete files from s3 as well

nlewis
7 - Meteor

Bump up on this!

apathetichell
19 - Altair

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).

Labels