Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error Uploading to AWS #29

Open
rudboruah opened this issue May 15, 2017 · 2 comments
Open

Error Uploading to AWS #29

rudboruah opened this issue May 15, 2017 · 2 comments

Comments

@rudboruah
Copy link

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

@rassokhin-s
Copy link

I'm getting the same error.

@rassokhin-s
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants