agiledigital / agiledigital/serverless-sns-sqs-lambda

Function names with dashes aren't supported

オープン
#814 コメント 3 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
TypeScript
スター
85
フォーク
20
PR マージ指標
30日以内にマージされた PR はありません

説明

When using it on a function with dashes in its name, I'm getting a Cloudformation error on deploy:
```
Error:
The CloudFormation template is invalid: Template format error: Resource name Calculate-session-metricsEventSourceMappingSQSCalculateSessionMetricsQueue is non alphanumeric.
```

The function configuration is:
```
calculate-session-metrics:
timeout: 900
maximumEventAge: 1800
handler: ...
events:
- snsSqs:
name: CalculateSessionMetrics
topicArn: ${self:custom.eventsTopicArn}
omitPhysicalId: true
maxRetryCount: 3
deadLetterQueueEnabled: true
visibilityTimeout: 1800
filterPolicy:
name:
- ....
```

I think https://github.com/agiledigital/serverless-sns-sqs-lambda/pull/813 fixes it, but figured it's best to open an issue too

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。