Can BK agents delete resources automatically?

I’ve got (well, had) a lambda that looks like it was deleted by the BK agent. When looking through the CloudTrail logs at the deletion event, the assumed role is the role that BK agents use.

Looking through the BK pipeline logs, I don’t see any builds around the deletion time (last build was in May, the lambda was deleted in June). Is it possible for BK agents to delete resources automatically?

Hey @vowelalmost :wave:

Welcome to the Buildkite community!

Buildkite agent will not clean up any resource automatically unless it is instructed to do so through any pipeline.

Could you share more details around this to help us investigate further,

  1. Could you share the Cloudtrail log for the lambda deletion?
  2. Hows the Lambda connected to Buildkite? Is it deployed by any build or if the lambda is part of the Buildkite elastic stack?
  3. Could you share the Buildkite agent link?
    If you could send these details to support@buildkite.com we will be able to continue our investigation and discussion via the email.

Cheers,
Priya

Thanks Priya, I’ll get those together and send it through.