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

feat: add support for nested messages #142

Merged
merged 1 commit into from
Jun 28, 2021
Merged

feat: add support for nested messages #142

merged 1 commit into from
Jun 28, 2021

Conversation

danielsepulvedab
Copy link
Contributor

@danielsepulvedab danielsepulvedab commented Jun 18, 2021

Description

This PR includes some more logic in the creation of the attachments in the default_notifications method.

Motivation and Context

The value attribute of the attachments only accept strings, so when not sent as such Slack is ignoring them. This makes some important information to be missing in the Slack message.

Breaking Changes

This change doesn't break backwards compatibility.

How Has This Been Tested?

  • I have tested and validated these changes using one or more of the provided examples/* projects

I tested the change with Pytest and added a new case in which the new behavior can be seen.
I also created the resources in AWS with a aws_cloudwatch_event_rule to send the events to the SNS topic.
Both tests worked as expected.

Result

Before this PR:
Screen Shot 2021-06-18 at 15 55 43

After this PR:
Screen Shot 2021-06-18 at 15 56 40

@danielsepulvedab danielsepulvedab changed the title Add support for nested messages feat: add support for nested messages Jun 18, 2021
@svenlito svenlito requested a review from antonbabenko June 22, 2021 02:23
@antonbabenko antonbabenko merged commit 31d4301 into terraform-aws-modules:master Jun 28, 2021
@antonbabenko
Copy link
Member

v4.16.0 has been just released.

@github-actions
Copy link

github-actions bot commented Nov 8, 2022

I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 8, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants