Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

allow non-formatted alarm description #32

Closed
wants to merge 3 commits into from
Closed

allow non-formatted alarm description #32

wants to merge 3 commits into from

Conversation

JRichlen
Copy link

@JRichlen JRichlen commented Sep 28, 2022

what

  • allow alarm_description to be non-formatted string instead of requiring formatting

why

  • Alarms are used to trigger notifications in our on-call system. The on-call system uses alarm_description to determine which team to call. That string needs to be a team name and cannot contain additional formatted text.

references

I've created a simplified example of the problem.

Below is an example of the error triggered by passing a non-formattable string.
image

And here's an example with the solution.
image

Related PR - cloudposse/terraform-aws-alb-target-group-cloudwatch-sns-alarms#49

closes #33

Signed-off-by: Jordan Richlen <jmrichlen@gmail.com>
Signed-off-by: Jordan Richlen <jmrichlen@gmail.com>
@JRichlen JRichlen requested review from a team as code owners September 28, 2022 01:29
@JRichlen JRichlen requested review from Gowiem and RothAndrew and removed request for a team September 28, 2022 01:29
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.

Alarm_description only works with formatting
2 participants