You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue is with respect to another issue I had logged a few days ago [https://github.com//issues/292].
I am invoking a lambda from another lambda using python SDK. Both the lambdas belong to the same VPC. The trigger lambda only contains a python script that invokes the second lambda (loader_development) and the code for that is as under:
But, "starting loading" is printing thrice so I think this script is getting invoked thrice. Previously only the loader_development lambda was being retried for which I set the value of max retry attempts to 0. (FYI: I have a cloudwatch event enabled for my trigger cron(0/30 7-9 * * ? *) so does the cloudwatch event also have a retry mechanism?) How do I disable this cloudwatch event from triggering my script more than once?
P.S. This code works if I don't have a scheduled cloudwatch event.
The text was updated successfully, but these errors were encountered:
ghost
changed the title
AWS python SDK invoking AWS lambda function more than once with scheduled cloudwatch event
AWS python SDK getting invoked more than once with scheduled cloudwatch event
Oct 29, 2019
This issue is with respect to another issue I had logged a few days ago [https://github.com//issues/292].
I am invoking a lambda from another lambda using python SDK. Both the lambdas belong to the same VPC. The trigger lambda only contains a python script that invokes the second lambda (loader_development) and the code for that is as under:
But, "starting loading" is printing thrice so I think this script is getting invoked thrice. Previously only the loader_development lambda was being retried for which I set the value of max retry attempts to 0. (FYI: I have a cloudwatch event enabled for my trigger cron(0/30 7-9 * * ? *) so does the cloudwatch event also have a retry mechanism?) How do I disable this cloudwatch event from triggering my script more than once?
P.S. This code works if I don't have a scheduled cloudwatch event.
The text was updated successfully, but these errors were encountered: