I forgot how you update Github Access Tokens for Lambda Functions

January 2nd, 2024
How to Update Github Access Token for AWS Function
- On github generate a new access token
-
go to settings
-
at the bottom go to developer settings
-
click that and generate a new token, try and specify minimum requirements you need
-
set the date to a date you wish for it to expire
- Log into AWS
-
go to AWS Lambda function that is using the token
-
it's probably in the environment variables so go to Configuration, then in the new tab click on 'Environment Variables'
-
paste in the new variable and test out the function

