diff --git a/.gitignore b/.gitignore index d194797..5b5e546 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ .idea/ out/ *.iml +venv/ diff --git a/cloudwatch_to_slack/app.py b/cloudwatch_to_slack/app.py index eda5921..8093f87 100644 --- a/cloudwatch_to_slack/app.py +++ b/cloudwatch_to_slack/app.py @@ -118,6 +118,7 @@ def construct_slack_message(name, description, trigger, dimensions, message = { 'attachments': [ { + 'fallback': new_state + ": " + name, 'color': COLORS.get(new_state, UNKNOWN_COLOR), 'blocks': message_attachments } diff --git a/cloudwatch_to_slack/requirements.txt b/cloudwatch_to_slack/requirements.txt index 7477db2..0a165d0 100644 --- a/cloudwatch_to_slack/requirements.txt +++ b/cloudwatch_to_slack/requirements.txt @@ -1 +1,2 @@ -pytest~=6.0.2 +pytest~=6.1.1 +iniconfig==1.0.1