Specific Lambda Name

Hi guys,

I’m new in Serverless and would appreciate answering some questions.

I created a project and I going to deploy that, however when I will deploy I can’t figure out how to deploy the lambda with a specific name. Is there a way to do that? I am missing something, but I cant figure out.

This is my .yml file

service: aws-nodejs
provider:
name: aws
runtime: nodejs4.3
functions:
index:
name: d2c-lambda-test
handler: index.handler

In this .yml file, I am trying to create a lambda named “d2c-lambda-test”, but instead create with this name he is creating with the service name, like “aws-nodejs”

I tried to run the follow command “serverless deploy -f d2c-lambda-test” for example, but didnt work anyway.

Just to complete the information, I am getting this error when I start the deploy

I am using the serverless version 1.0.0-rc.1.

Thanks for any help!