Skip to content

Question #42

Open
Open
@richardvaldivieso

Description

@richardvaldivieso

This is more a question than an issue. Is it possible to add extra functions with different VPN configurations in the serverless yml file? For example I have the following. Can I add the anotherFunction? So far it is not working for me

functions:
  #SSR Function
  svelte:
    handler: dist/server/serverless.handler
    memorySize: 256
    timeout: 15
    url: true
    package:
      individually: true
      exclude:
        - ./**
      include:
        - dist/server/**

  #Router Function
  cfLambda:
    handler: dist/edge/router.handler
    memorySize: 128
    timeout: 1
    # Set to '~' to disable the use of a VPC
    vpc: ~
    package:
      individually: true
      exclude:
        - ./**
      include:
        - dist/edge/**
    lambdaAtEdge:
      distribution: 'WebsiteDistribution'
      eventType: origin-request

anotherFunction:
    handler: entities/another.handler

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions