https://prefect.io logo
Title
b

Blake Stefansen

03/09/2023, 4:04 PM
Hi Everyone, Is there a way to DELETE flow code for a deployment stored in an s3 storage block? (
prefect deployment apply ... --upload
) If a new file in our codebase doesn't exist in s3, that file will get uploaded. If a file in our codebase gets deleted, I would like it to also delete in s3. Is this possible?
Sounds like read and write are the only default permissions for s3 storage blocks. Perhaps giving delete permissions is a poor design choice? It would be convenient though, as I wouldn't have to manually "debloat" our flow code storage with legacy files.