I believe you're confusing event triggers with lambda invocations. There seems to be an issue with your CloudWatch trigger, not the lambda function itself. Hence, making it invoke twice. 😊
Yes. Sorry for the confusion but yeah that's the issue. Any workarounds? Or anything that can help me send 1 trigger instead of 2 :)
Also, another thing is I am using Serverless & my cron is put in serverless.yml so if you have any workarounds or solutions to this problem, it would be a great help :)
Checkout the code github.com/deadcoder0904/lessons-o...
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.