You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On Lambda handler.py lines 702 to 709 there are calls to get secrets in case environment variables are set for channels to be communicated. ( get_secret(secret_teams_name, client) if "Teams" in os.environ else "None")
The Terraform code, however, doesn't populate that variable dynamically, therefore there will never be those environment variables and the notifications won't be sent.
I corrected it on my code by making the lambda variables as a local variable and merging them to the notifications channel in case they're populated.
Hope this helps.
The text was updated successfully, but these errors were encountered:
On Lambda handler.py lines 702 to 709 there are calls to get secrets in case environment variables are set for channels to be communicated. (
get_secret(secret_teams_name, client) if "Teams" in os.environ else "None"
)The Terraform code, however, doesn't populate that variable dynamically, therefore there will never be those environment variables and the notifications won't be sent.
I corrected it on my code by making the lambda variables as a local variable and merging them to the notifications channel in case they're populated.
Hope this helps.
The text was updated successfully, but these errors were encountered: