Reputation: 321
Good afternoon,
I have an aws eventbridge timer that triggers an aws lambda every 15 minutes. The lambda takes at most 30 seconds to execute, doesn't go over memory allotment, has a 5 minute timeout, is set for zero retries, has 100% success over the past several hours.
However aws is still running at least 8 and up to 36 instances of this lambda concurrently. I have no idea what is triggering these additional concurrencies. Nothing is outlined in the cloudwatch logs, the eventbridge timer is saying it only triggers once.
Where can I find out what/why these additional instances are getting triggered concurrently?
Upvotes: 3
Views: 1166
Reputation: 321
I had overlooked that I had a double definition for the event to fire in my cdk stack. Copy and paste error from the example docs. DOH
Rule rule = new Rule(this, this.Node.TryGetContext("eventName").ToString(), new RuleProps
{
Enabled = false,
//bad pattern
//EventPattern = new EventPattern
//{
// Source = new[] { "aws.ec2" }
//},
Schedule = Schedule.Rate(Duration.Minutes(15)),
RuleName = this.Node.TryGetContext("eventName").ToString()
}) ;
Upvotes: 1