I would like to be able to specify multiple resources using a single entry in serverless.yml.
My use case is as follows:
reportFatalError:
handler: "handler.reportFatalError"
events:
- cloudwatchLog:
# "*" implies wish to insert wildcard
logGroup: "/aws/lambda/*-${opt:stage}-*"
filter: "\"FATAL\""
Naturally, I would like the Fatal Error Reporter to report the Fatal Error from any logGroup, and explicitly specifying all of them is a recipe for poorly maintained serverless.yml in the future.
Is there some way to specify a wildcard or loop over the logGroups as serverless deploys?