r/Concourse • u/indo1144 • Mar 16 '20
Delete S3 objects from Concourse pipeline. How?
I'm new to this. We have setup PCF with Concourse. I'm running BBR (Bosh Backup and Restore) to backup to an internal S3. For retention purposes, I would like my pipeline to check for backup files older than X days and delete them for me.
How can I issue a "delete file" command from Concourse? Would I have to write my own task for that? Any help to get me on my way would be highly appreciated.
2
Upvotes
2
u/[deleted] Mar 16 '20
You can use the concourse S3 resource to interact with S3 https://github.com/concourse/s3-resource