Skip to content

CloudWatch Event Rule name not unique to stage #693

@boaf

Description

@boaf

It appears that a CloudWatch Event Rule's name does not include stage. This means that when I sls event deploy, any Event defined in my component is reconfigured to use the current stage's function, regardless of it's setting prior.

I'm looking at

ruleName = functionName + '-' + event.name,
. Naively, it seems as if ruleName just needs + '-' + stage appended. 😏

Am I missing something?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions