I have a Lambda function with an SQS event trigger. The SQS is populated by a CloudWatch Events Rule (based on AWS Config changes). However when looking into the CloudWatch Events Rule metrics, all attempted invocations to place a message onto SQS failed. The SQS event trigger works if I manually send a message to SQS, but the link between CloudWatch Events Rule and SQS doesn’t work.
If I remove the link and re-create it manually via the console it’ll begin to work… however then when I try to run a
serverless remove I’ll receive an error that the CloudWatch Events Rule
has a target.