You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I know this is silly and I am missing something trivial and apologies in advance. I am trying to get this Twitter Bot for Lamda running.
$gulp deploy is failing ;(
I have setup Users/ Roles in AWS with IAM: All, S3:All, Lamda:All but am I am just unable to get the gulp working for me ;( when I upload the dist.zip file manually all works but I just can not upload the file using gulp deploy.
Can someone help please?
Errors:
[15:38:14] Starting 'upload'...
Package upload failed. Check your iam:PassRole permissions.
[15:38:15] 'upload' errored after 962 ms
[15:38:15] UnknownError: Forbidden
The text was updated successfully, but these errors were encountered:
After some debugging, I found that I get the following error from AWS: InvalidParameterValueException: The runtime parameter of nodejs is no longer supported for creating or updating AWS Lambda functions. We recommend you use the new runtime nodejs6.10.
So I added
runtime: 'nodejs6.10'
to my config and everything worked well. @rudboruah maybe that will help you.
Hello guys,
I know this is silly and I am missing something trivial and apologies in advance. I am trying to get this Twitter Bot for Lamda running.
$gulp deploy is failing ;(
I have setup Users/ Roles in AWS with IAM: All, S3:All, Lamda:All but am I am just unable to get the gulp working for me ;( when I upload the dist.zip file manually all works but I just can not upload the file using gulp deploy.
Can someone help please?
Errors:
[15:38:14] Starting 'upload'...
Package upload failed. Check your iam:PassRole permissions.
[15:38:15] 'upload' errored after 962 ms
[15:38:15] UnknownError: Forbidden
The text was updated successfully, but these errors were encountered: