I have a script that takes over 4 hours long. My session can only run up until 4 hours before the script gives me the following error:
An error occurred (ExpiredTokenException) when calling the LookupEvents operation: The security token included in the request is expired
Is there any way to have the script automatically get new credentials?
I am using aws-azure-login to update my .aws/credentials file
I don't have a solution at this time.