aws-samples / iam-identity-center-team

Open-source temporary elevated access solution for AWS IAM Identity Center.
https://aws-samples.github.io/iam-identity-center-team/
MIT No Attribution
295 stars 67 forks source link

teamNotifications: wrong python version #186

Closed jarrod-mg closed 7 months ago

jarrod-mg commented 7 months ago

Describe the bug A clear and concise description of what the bug is.

The teamNotifications lambda is crashing, because it is running python 3.9, but has python 3.10 constructs ("match") in it.

To Reproduce

Steps to reproduce the behavior:

Expected behavior

Notification messages to appear; no lambda error

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

n/a

Smartphone (please complete the following information): n/a

Additional context

Workaround: I changed the lambda configuration for teamNotifications to use "python3.10" instead of "python3.9".

I did have a previous version, and had upgraded to the latest version earlier today.