serverless / serverless

⚡ Serverless Framework – Use AWS Lambda and other managed cloud services to build apps that auto-scale, cost nothing when idle, and boast radically low maintenance.

Home Page:https://serverless.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Advanced Lambda Logging - Undo Uppercase in YAML

austencollins opened this issue · comments

Are you certain it's a bug?

  • Yes, it looks like a bug

Is the issue caused by a plugin?

  • It is not a plugin issue

Are you using the latest v3 release?

  • Yes, I'm using the latest v3 release

Is there an existing issue for this?

  • I have searched existing issues, it hasn't been reported yet

Issue description

A V.4 feature was added that adds Advanced Logging Controls to AWS Lambda. But it includes a titlecased YAML property that breaks the camelcase rules we have. It's LogGroup when it should be logGroup at both the Provider and Function level. It's in the docs, but if it's in the actual implementation, that needs to be fixed as well.

https://github.com/serverless/serverless/blob/v4.0/docs/providers/aws/guide/serverless.yml.md?plain=1#L534

Service configuration (serverless.yml) content

......

Command name and used flags

......

Command output

......

Environment information

......