FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Add support for error action on iot topic rule · Issue #11642 · serverless/serverless · GitHub

Repository navigation

Add support for error action on iot topic rule  #11642

Description

Is there an existing issue for this?

  • I have searched existing issues, it hasn't been reported yet

Use case description

Currently the iot event only supports an Action for a topic rule. I want to be able to define an error action (https://docs.aws.amazon.com/iot/latest/developerguide/rule-error-handling.html).

Proposed solution (optional)

Provided the YML:

  myFunction:
    handler: ...
    events:
      - iot:
          sql: "SELECT * FROM 'test_unit'"
          errorAction: <ref a function arn here> 

The appropriate CF templating will be performed (see reference in description)

Activity

  1. medikoo commented on Dec 29, 2022

    Contributor

    @FMurray thanks for reporting. PR's welcome!

  2. suhanichawla commented on Sep 15, 2023

    @medikoo could I give this a shot if no one is working on this?
    Is the proposed yaml solution by @FMurray acceptable?

      myFunction:
        handler: ...
        events:
          - iot:
              sql: "SELECT * FROM 'test_unit'"
              errorAction: <ref a function arn here>  
    
  3. medikoo commented on Sep 16, 2023

    Contributor

    Thanks @suhanichawla for interest, still I'm no longer at Serverless Inc., I believe it's @Mmarzex that's handling contributions at this point

  4. suhanichawla commented on Sep 19, 2023

    Thanks @medikoo for redirecting me. @Mmarzex could I try this out?

  5. added a commit that references this issue on Mar 25, 2026
    53c73fc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions


      Back | FazBrowse Home | New Git URL