2017-03-27, 00:59
(2017-03-27, 00:42)digiltd Wrote: How are you both deploying?
$ python deploy-to-lambda.py
2017-03-26 18:43:53:INFO:botocore.credentials: Found credentials in environment variables.
2017-03-26 18:43:53:INFO:lambda_deploy: Packaging lambda kodi-alexa
2017-03-26 18:43:53:WARNING:lambda_deploy: A .env file exists in your Lambda directory - be careful that it does not contain any secrets you don't want uploaded to AWS!
2017-03-26 18:43:53:WARNING:lambda_deploy: Skipping inclusion of of .env file - use LAMBDA_ENV_VARS instead (see documentation for more information)
Traceback (most recent call last):
File "/usr/local/bin/lambda-deploy", line 11, in <module>
sys.exit(main())
File "/usr/local/lib/python2.7/site-packages/lambda_deploy/lambda_deploy.py", line 376, in main
method()
File "/usr/local/lib/python2.7/site-packages/lambda_deploy/lambda_deploy.py", line 215, in deploy
Publish=True
File "/usr/local/lib/python2.7/site-packages/botocore/client.py", line 253, in _api_call
return self._make_api_call(operation_name, kwargs)
File "/usr/local/lib/python2.7/site-packages/botocore/client.py", line 543, in _make_api_call
raise error_class(parsed_response, operation_name)
botocore.exceptions.ClientError: An error occurred (InvalidSignatureException) when calling the CreateFunction operation: Signature expired: 20170326T224359Z is now earlier than 20170326T224551Z (20170326T225051Z - 5 min.)
Collecting requests (from -r /Users/user/kodi-alexa/kodi-alexa/requirements.txt (line 1))
Using cached requests-2.13.0-py2.py3-none-any.whl
Collecting gunicorn (from -r /Users/user/kodi-alexa/kodi-alexa/requirements.txt (line 2))
Using cached gunicorn-19.7.1-py2.py3-none-any.whl
Collecting yaep (from -r /Users/user/kodi-alexa/kodi-alexa/requirements.txt (line 3))
Using cached yaep-0.0.6-py2-none-any.whl
Collecting pycountry (from -r /Users/user/kodi-alexa/kodi-alexa/requirements.txt (line 4))
Collecting pytz (from -r /Users/user/kodi-alexa/kodi-alexa/requirements.txt (line 5))
Using cached pytz-2016.10-py2.py3-none-any.whl
Collecting fuzzywuzzy (from -r /Users/user/kodi-alexa/kodi-alexa/requirements.txt (line 6))
Using cached fuzzywuzzy-0.15.0-py2.py3-none-any.whl
Installing collected packages: requests, gunicorn, yaep, pycountry, pytz, fuzzywuzzy
Successfully installed fuzzywuzzy-0.15.0 gunicorn-19.7.1 pycountry-17.1.8 pytz-2016.10 requests-2.13.0 yaep-0.0.6
Starting new HTTPS connection (1): lambda.us-east-1.amazonaws.com
Adding new kodi-alexa lambda