Reputation: 415
We have a lambda function with SQS as trigger. The functions were working fine for a few years up until last week when we saw that the trigger was disabled for some reason.
We had to manually enable the trigger to make it work.
Is there any way to check why or who had disabled this trigger in some sort of a log?
Upvotes: 0
Views: 994
Reputation: 16805
AWS provides CloudTrail which stores a log for every event which happened in your account for the last 90 days. Triggers are tied to the service which invokes them (SQS in your case), so I suggest searching for SQS events in the CloudTrail logs and also for Lambda modification events.
Upvotes: 2