Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question #42

Open
richardvaldivieso opened this issue Jul 29, 2024 · 0 comments
Open

Question #42

richardvaldivieso opened this issue Jul 29, 2024 · 0 comments

Comments

@richardvaldivieso
Copy link

richardvaldivieso commented Jul 29, 2024

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant