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

Support nats triggers in serverless functions #254

Open
daanpersoons opened this issue Jan 22, 2025 · 0 comments
Open

Support nats triggers in serverless functions #254

daanpersoons opened this issue Jan 22, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@daanpersoons
Copy link

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Proposal

  • What is the proposed change?
    I want to be able to use nats triggers in my serverless.yaml for my serverless function
  • Who does this proposal help, and why?
    Everybody who is using nats triggers in their functions

Example

configValidationMode: off
provider:
  name: scaleway
  runtime: node22

plugins:
  - serverless-scaleway-functions

package:
  patterns:
    - "!node_modules/**"
    - "!.gitignore"
    - "!.git/**"

functions:
  first:
    handler: handler.handle
    events:
    - nats:
        name: my-nats-event
        scw_nats_config:
          subject: ">"
          mnq_nats_account_id: "AASD6RDWQLYMJOLKNLS7FBEC2SGEL3BEDDU2UVM4CRO2JKYRDCJKF56C"
          mnq_project_id: "c6cae62f-6f23-4ae2-abbe-d6394dd9e394"
          mnq_region: "fr-par"```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant