python-lambda
python-lambda copied to clipboard
Deployment issue with "lambda deploy"
Hi, i was trying to "lambda deploy" when this error occured after :
Starting new HTTPS connection (1): lambda.us-east-1.amazonaws.com Creating your new Lambda function Starting new HTTPS connection (1): sts.amazonaws.com Creating lambda function with name: my_lambda_function Starting new HTTPS connection (1): lambda.us-east-1.amazonaws.com
botocore.exceptions.ClientError: An error occurred (InvalidSignatureException) when calling the CreateFunction operation: Signature expired: 20180506T081010Z is now earlier than 20180506T081523Z (20180506T082023Z - 5 min.)
Is your system clock time correct? You might need to sync it up with ntp or similar method depending on your OS. The error indicates that the the system time is several minutes different from the AWS servers.
I had the same phenomenon too. It seems that the build process was just a bit too long on one occasion.