Skip to content

Config schema: Define AWS "functions[]" section properties #8017

Description

@medikoo

Use case description

It'll be nice to have functions[] section fully validated for AWS provider case.

Proposed solution

  1. Define schema for following provider level properties (that's part of Config schema: Define AWS "provider" properties #8022)
  • environment
  • memorySize
  • role
  • runtime
  • timeout
  • tracing.lambda
  • versionFunctions
  • vpc
  1. 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:

function: {
// TODO: Complete schema, see https://github.com/serverless/serverless/issues/8017
properties: { handler: { type: 'string' } },

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions