Skip to content

In lambda-comments.json, line 145 and 181, change "nodejs" to "nodejs4.3" #17

@vamworks

Description

@vamworks

Hi Jim,

My name is Vam. I live in Beijing, China. First of all, I want to say - thank you very much!! I am so so excited when I found your work - It is exactly what I need and it is amazing! You know that Disqus and many other popular sites are blocked in China for some reasons. And I want to have a simple commenting system that can be accessed from China and all over the world. I spent a lot of time tried to find a right one but I didn't. Until I see your Lambda-comments. And I agreed with your point of view from "Introducing lambda-comments". I just integrated it. Please have a look:

http://vamworks.com/2016/paintings-and-drawings-by-me-before-2016/

However, during the process I got a problem: when I create a stack via the command:

npm run create-cloudformation

I saw this message when I check my AWS CloudFormation console:

console of CloudFormation: ROLLBACK_COMPLETE

lambdacomments-01

When click the stack name, I see the following problem from log:

Logical ID:

QueueCommentLambdaFunction

Status reason:

The runtime parameter of nodejs is no longer supported for creating or updating AWS Lambda functions. We recommend you use the new runtime (nodejs4.3) while creating or updating functions.

lambdacomments-02

I spent some time to did research and finally I found the answer:

http://docs.aws.amazon.com/cli/latest/reference/lambda/create-function.html

In lambda-comments.json, line 145 and 181, change "nodejs" to "nodejs4.3".

After that, it works very well!

:)

Best Regards,

Vam

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions