serverless-sqs-alarms-plugin icon indicating copy to clipboard operation
serverless-sqs-alarms-plugin copied to clipboard

Fails when queue name is intrinsic function

Open cw43 opened this issue 5 years ago • 1 comments

Using ImportValue for queue name as following:

sqs-alarms:

- thresholds: [1, 10, 50, 100]
  queue: { 'Fn::ImportValue': "create-events:MyQueueName" }
  topic: "AlarmsTopicName"

Fails with the following error: this.queue.replace is not a function

cw43 avatar Jul 09 '19 10:07 cw43

I've made a fork that fixes this issue, @cw43.

https://github.com/digitalmaas/serverless-plugin-sqs-alarms

nolde avatar Jan 11 '21 04:01 nolde