aws-health-aware
                                
                                 aws-health-aware copied to clipboard
                                
                                    aws-health-aware copied to clipboard
                            
                            
                            
                        Team(s) Webhook URL Issue - Secret not retrieved
When you run the lambda the teams webhook secret is not retrieved. On line https://github.com/aws-samples/aws-health-aware/blob/main/handler.py#L715 715 of the handler, it references and env var Teams . However on line https://github.com/aws-samples/aws-health-aware/blob/main/terraform/Terraform_DEPLOY_AHA/Terraform_DEPLOY_AHA.tf#L724 724 of the terraform code it uses the var Team. This causes the script to always report None for the variable even if the secret is populated and the env var Team is set to True.