Skip to content

If event_sources.json is not used all triggers are removed from lambda #255

Description

@mmustala

Hi,

I noticed that when the event_sources.json is not used (file deleted and no reference to any other file with .env or -S option) the deployment removes all existing triggers from the lambda. I would expect it to skip the _updateEventSources completely when there is no input for the event sources. Then it would leave the existing triggers in place and not remove them.

If the app would receive an empty event_sources.json file then I would expect it to remove all triggers from the lambda.

What do you think?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions