sveltekit-adapter-lambda icon indicating copy to clipboard operation
sveltekit-adapter-lambda copied to clipboard

Question

Open richardvaldivieso opened this issue 1 year ago • 0 comments

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

richardvaldivieso avatar Jul 29 '24 19:07 richardvaldivieso