aws-health-aware
                                
                                 aws-health-aware copied to clipboard
                                
                                    aws-health-aware copied to clipboard
                            
                            
                            
                        AHA - Deprecated Slack Integrations / new Triggers Integration
Hi,
Currently the HealthAwareStack-LambdaFunction function that sends AHA data to Slack looks for the following "hooks.slack.com/workflows" & "hooks.slack.com/services" with the URL provided in the CFN parameter SlackWebhookURL and used in Lambda env variable slack_url as per https://github.com/aws-samples/aws-health-aware/blob/main/handler.py#L88-L123
However Slack has done some deprecations around webhooks and it seems that newly created Slack workflow webhooks have web request URLs like https://hooks.slack.com/triggers/123232 as per the screenshot
This leads me to believe that the lambda function code needs to be updated to check for "hooks.slack.com/triggers" to be able to invoke these new workflow URLs.