<!-- ⚠️⚠️ Acknowledge ALL below remarks --> <!-- ⚠️⚠️ Request may not be processed if it doesn't meet outlined criteria --> <!-- ⚠️⚠️ Search existing issues to avoid creating duplicates --> <!-- ⚠️⚠️ Plugin enhancements should be proposed at plugin repository, not here --> <!-- ⚠️⚠️ Answer ALL required questions below --> <!-- Q1: Describe the problem (use case) that needs to be solved --> ### Use case description It'll be nice to have `functions[]` section fully validated for AWS provider case. <!-- Q2: Propose solution (e.g. provide configuration example) Note: This is optional, remove this section if you do not wish to propose anything at this point --> ### Proposed solution 1. Define schema for following `provider` level properties (that's part of #8022) - [x] `environment` - [x] `memorySize` - [x] `role` - [x] `runtime` - [x] `timeout` - [x] `tracing.lambda` - [x] `versionFunctions` - [x] `vpc` 2. Define schema for all properties (apart of `events`) at `functions[]` level _Note: Each event is covered with dedicated issue, and is not in scope here._ Configuration should be done directly in: `lib/plugins/aws/provider/awsProvider.js`: https://github.com/serverless/serverless/blob/d403d9c6d3dccdfc9f79d7c42b3cbc1a06fcfac0/lib/plugins/aws/provider/awsProvider.js#L143-L145
Use case description
It'll be nice to have
functions[]section fully validated for AWS provider case.Proposed solution
providerlevel properties (that's part of Config schema: Define AWS "provider" properties #8022)environmentmemorySizeroleruntimetimeouttracing.lambdaversionFunctionsvpcevents) atfunctions[]levelNote: Each event is covered with dedicated issue, and is not in scope here.
Configuration should be done directly in:
lib/plugins/aws/provider/awsProvider.js:serverless/lib/plugins/aws/provider/awsProvider.js
Lines 143 to 145 in d403d9c