serverless-plugin-log-retention icon indicating copy to clipboard operation
serverless-plugin-log-retention copied to clipboard

Serverless v2 Validation Failed

Open baizhenyu opened this issue 3 years ago • 4 comments

When deploy with serverless v2, I got the following warning:

Serverless:   at 'functions.timeZoneCollector': unrecognized property 'logRetentionInDays'

I believe this caused by introduction of schema validation in v2: https://www.serverless.com/framework/docs/providers/aws/guide/plugins/#extending-validation-schema

Can you add schema validation to this?

baizhenyu avatar Mar 11 '21 21:03 baizhenyu

PR created, #8

joquijada avatar Jul 20 '21 01:07 joquijada

Any news about it? I saw the PR ready to go :railway_track:

FedeMadoery avatar Aug 18 '21 12:08 FedeMadoery

Any news about it? I saw the PR ready to go 🛤️

Sadly no. There's no one with write access apparently available to merge. As a workaround I copied this module into my local and packaged it along with my dependent app until this PR gets merged. At any rate we might be moving to SST (Serverless Stack) which will render this unnecessary for us, however that won't happen overnight so it would be night to continue to get support on all serverless framework plugins like this one. Thanks, and good luck.

Cheers, Jose.

joquijada avatar Aug 18 '21 13:08 joquijada

To better support the users of this software, I will be transitioning ownership and maintenance of this repo to Serverless. The details should be sorted out within a couple of weeks.

ArtificerEntertainment avatar Mar 28 '22 14:03 ArtificerEntertainment