Skip to content

Support nats triggers in serverless functions #254

Open
@daanpersoons

Description

@daanpersoons

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"```

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @daanpersoons

        Issue actions

          Support nats triggers in serverless functions · Issue #254 · scaleway/serverless-scaleway-functions