I am trying to create a scheduling system for my EC2 instances using lambda functions to start/shutdown the instances and Cloudwatch to trigger and schedule them. The problem is Cloudwatch, not triggering the lambda functions when the functions are working fine. I have linked Cloudwatch to the lambda function, and set it as the trigger. But Cloudwatch logs isn't showing any recollection of the instances changing state and the state of the instances don't change. Can anyone help?
Just to note: I have tested the lambda functions using the test feature, and they both work perfectly. I'm assuming the issue is with Cloudwatch.