aws-health-aware icon indicating copy to clipboard operation
aws-health-aware copied to clipboard

Team(s) Webhook URL Issue - Secret not retrieved

Open wizzchris opened this issue 7 months ago • 2 comments

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.

wizzchris avatar Mar 07 '25 14:03 wizzchris