Skip to content

Create alarms only on defined stages#18

Open
ZaneGeiser wants to merge 1 commit intosbstjn:masterfrom
ZaneGeiser:feature/add-support-for-stages
Open

Create alarms only on defined stages#18
ZaneGeiser wants to merge 1 commit intosbstjn:masterfrom
ZaneGeiser:feature/add-support-for-stages

Conversation

@ZaneGeiser
Copy link

Hi,

I wanted to add support so that the alarms could only be created on specific stages.

Simply put if you define stages in the config then the alarms will only get created when the current stage is in the list.
If stages is not defined at all, then the alarms still get created.

custom:
    sqs-alarms:
        stages:
            - prod

If you are happy with the changes then I can add the new feature to the README.

Thanks!

@ZaneGeiser
Copy link
Author

Hi @sbstjn,
What do you think about adding this as a new feature?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant