ACloudGuru/serverless-plugin-aws-alerts

Purpose of normalizing dashes to "dash" in name?

Open

#144 opened on Nov 5, 2020

View on GitHub
 (2 comments) (0 reactions) (0 assignees)JavaScript (150 forks)auto 404
good first issuequestion

Repository metrics

Stars
 (523 stars)
PR merge metrics
 (PR metrics pending)

Description

This is a (Bug Report / Feature Proposal)

This is more of a question, and not sure if this is intended.

Description

My api name has dashes in it, however because it's named "api-name-v1-this-is-the-function-name", the package updates the name for the cloudwatch alert to replace it as apiDashnameDashv1DashthisDashisDashtheDashfunctionDashname

Is there a way to disable this, or what is the intended reasoning to replace this as we can use dashes in the title as the prefixTemplate option can contain dashes just fine. e.g. prefix-template-dashes-worksapiDashnameDashv1DashthisDashisDashtheDashfunctionDashname assuming prefixTemplate: prefix-template-dashes-work and apiName:api-name-v1-this-is-the-function-name

  • Serverless Framework Version: "serverless": "^1.83.0",

Contributor guide