Skip to content

Error Uploading to AWS #29

Open
Open

Description

@rudboruah

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

Activity

  1. rassokhin-s commented on May 17, 2017

    @rassokhin-s

    I'm getting the same error.

  2. rassokhin-s commented on May 17, 2017

    @rassokhin-s

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions