# What's Missing in Our Docs?

**URL:** <https://forum.serverless.com/t/whats-missing-in-our-docs/27>\
**Category:** Serverless Framework\
**Created:** [July 19, 2016, 10:45am UTC](https://forum.serverless.com/t/whats-missing-in-our-docs/27 "2016-07-19T10:45:44Z")\
**Posts on this page:** 20\
**Page:** 2

<div class="post-metadata">

**Author:** ![jbasdf](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.serverless.com/jbasdf/32/28_2.png) [@jbasdf](https://forum.serverless.com/u/jbasdf)\
**Post date:** [August 23, 2016, 7:13pm UTC](https://forum.serverless.com/t/whats-missing-in-our-docs/27/21 "2016-08-23T19:13:46Z")

</div>

I would love to see an example that shows how to configure and work with other AWS services. I would like to see how to use serverless to setup and configure DynamoDB to be accessed from a function. If it’s possible to use Cognito for authentication I’d love to see an example. Setting up S3 and then writing to it and getting data out using a lambda function would be helpful. Updating the previous examples to 1.0 would also benefit us greatly.

---

<div class="post-metadata">

**Author:** ![CesarOliveira](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.serverless.com/cesaroliveira/32/77_2.png) [@CesarOliveira](https://forum.serverless.com/u/CesarOliveira)\
**Post date:** [August 24, 2016, 11:31am UTC](https://forum.serverless.com/t/whats-missing-in-our-docs/27/22 "2016-08-24T11:31:22Z")

</div>

Hey guys, I found this article, I think that it could help:

> **[Create a serverless RESTful API with the Serverless Framework powered by API...](https://cloudonaut.io/create-a-serverless-restful-api-with-the-serverless-framework-powered-by-api-gateway-lambda-and-dynamodb/)**
>
> This article teaches you how to create a Serverless RESTful API on AWS with the Serverless Framework. DynamoDB is used to store the data. The example’s source code is available on GitHub and can be us

---

<div class="post-metadata">

**Author:** ![RossAshworth](https://avatars.discourse-cdn.com/v4/letter/r/46a35a/32.png) [@RossAshworth](https://forum.serverless.com/u/RossAshworth)\
**Post date:** [August 25, 2016, 3:44pm UTC](https://forum.serverless.com/t/whats-missing-in-our-docs/27/23 "2016-08-25T15:44:42Z")

</div>

Hi, is there any documentation on deploying shared dependencies for python2.7 runtime functions, for serverless v1 beta? I have found relevant stuff for v0.5 but not for v1

---

<div class="post-metadata">

**Author:** ![arjabbar](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.serverless.com/arjabbar/32/89_2.png) [@arjabbar](https://forum.serverless.com/u/arjabbar)\
**Post date:** [August 25, 2016, 7:45pm UTC](https://forum.serverless.com/t/whats-missing-in-our-docs/27/24 "2016-08-25T19:45:02Z")

</div>

There’s no examples of custom authorizers in the new 1.0 docs. There were examples in the old docs though.

---

<div class="post-metadata">

**Author:** ![ponyengine](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.serverless.com/ponyengine/32/66_2.png) [@ponyengine](https://forum.serverless.com/u/ponyengine)\
**Post date:** [September 1, 2016, 2:21pm UTC](https://forum.serverless.com/t/whats-missing-in-our-docs/27/25 "2016-09-01T14:21:30Z")

</div>

I have seen references to setting the profile in several places and suggestions on what to do- But I do not see any definitive documentation on setting the profile to non-default profile. I have searched hi and low for this.

I am also confused as to whether the serverless.env.yml suppose to exist or is just for backwards compatibilty. Many posts are saying that it is gone but when a new project is created- it still appears.

---

<div class="post-metadata">

**Author:** ![joshuadutton](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.serverless.com/joshuadutton/32/105_2.png) [@joshuadutton](https://forum.serverless.com/u/joshuadutton)\
**Post date:** [September 2, 2016, 3:46pm UTC](https://forum.serverless.com/t/whats-missing-in-our-docs/27/26 "2016-09-02T15:46:03Z")

</div>

Since Serverless is changing so much these days, I would like some more visibility in the docs to educate us that the framework is currently in flux. At the top of the main readme on the github page, I would love to see something like:

> Serverless v1.0 is currently under development. The `master` branch reflects the most recent changes. The latest npm release is [1.0.0-beta.2](https://www.npmjs.com/package/serverless). We are currently working on release candidate 1 (see milestone [v1.0.0-rc.1](https://github.com/serverless/serverless/milestone/13)).

On a related note, I would also love it if you would give us a few more updates in the Gitter channel. For example, I was confused when the `beta-3` milestone went away. I quick post like “update: we’ve changed the the v1.0.0-beta-3 milestone to v1.0.0-rc1” would be very helpful. It looks to me that you intend for Gitter to be community discussion and want to reserve direct communication to Github and this forum, but I would greatly appreciate the updates in Gitter, even if you don’t want to answer questions there.

---

<div class="post-metadata">

**Author:** ![joshuadutton](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.serverless.com/joshuadutton/32/105_2.png) [@joshuadutton](https://forum.serverless.com/u/joshuadutton)\
**Post date:** [September 2, 2016, 4:03pm UTC](https://forum.serverless.com/t/whats-missing-in-our-docs/27/27 "2016-09-02T16:03:30Z")

</div>

I just found the mailing list [linked](http://github.us11.list-manage.com/subscribe?u=b4fad36768cab222f88338995&id=a38927c74d) from the main Github page, so it will be interesting to see how much that gets used.

---

<div class="post-metadata">

**Author:** ![flomotlik](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.serverless.com/flomotlik/32/3_2.png) [@flomotlik](https://forum.serverless.com/u/flomotlik)\
**Post date:** [September 5, 2016, 5:32pm UTC](https://forum.serverless.com/t/whats-missing-in-our-docs/27/28 "2016-09-05T17:32:14Z")

</div>

@joshuadutton we’re definitely sending out emails for each new release.

We’re now moving closer to V1 final release and just update our docs to have a much better and clearer structure. We had lots of docs hidden way deep in our code and that is all cleaned up now. Hope this makes things a lot easier going forward.

---

<div class="post-metadata">

**Author:** ![orthodoc](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.serverless.com/orthodoc/32/25_2.png) [@orthodoc](https://forum.serverless.com/u/orthodoc)\
**Post date:** [September 6, 2016, 6:03am UTC](https://forum.serverless.com/t/whats-missing-in-our-docs/27/29 "2016-09-06T06:03:42Z")

</div>

Please add some docs on migrating from v0.5 to v1.0

---

<div class="post-metadata">

**Author:** ![flomotlik](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.serverless.com/flomotlik/32/3_2.png) [@flomotlik](https://forum.serverless.com/u/flomotlik)\
**Post date:** [September 6, 2016, 12:31pm UTC](https://forum.serverless.com/t/whats-missing-in-our-docs/27/30 "2016-09-06T12:31:42Z")

</div>

Yup we’ll add those before the final V1 release.

---

<div class="post-metadata">

**Author:** ![orthodoc](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.serverless.com/orthodoc/32/25_2.png) [@orthodoc](https://forum.serverless.com/u/orthodoc)\
**Post date:** [September 6, 2016, 3:21pm UTC](https://forum.serverless.com/t/whats-missing-in-our-docs/27/31 "2016-09-06T15:21:34Z")

</div>

Thanks @flomotlik. What is the tentative v1 release date?

---

<div class="post-metadata">

**Author:** ![flomotlik](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.serverless.com/flomotlik/32/3_2.png) [@flomotlik](https://forum.serverless.com/u/flomotlik)\
**Post date:** [September 6, 2016, 5:43pm UTC](https://forum.serverless.com/t/whats-missing-in-our-docs/27/32 "2016-09-06T17:43:57Z")

</div>

Somewhere between Soon to Very Soon :D. I can’t really give more specific dates, but we’re releasing the first Release Candidate today.

---

<div class="post-metadata">

**Author:** ![medampudi](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.serverless.com/medampudi/32/101_2.png) [@medampudi](https://forum.serverless.com/u/medampudi)\
**Post date:** [September 7, 2016, 5:22am UTC](https://forum.serverless.com/t/whats-missing-in-our-docs/27/33 "2016-09-07T05:22:26Z")

</div>

Kudos… flo… thanks a lot

---

<div class="post-metadata">

**Author:** ![kevinold](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.serverless.com/kevinold/32/117_2.png) [@kevinold](https://forum.serverless.com/u/kevinold)\
**Post date:** [September 10, 2016, 9:07pm UTC](https://forum.serverless.com/t/whats-missing-in-our-docs/27/34 "2016-09-10T21:07:31Z")

</div>

What is the new way to access process.env.SERVERLESS\_PROJECT and process.env.SERVERLESS\_STAGE from within scripts like this dynamodb script.

I’m aware that project is no longer available, but just wondering how to access the service name and stage via the new v1 variables in file like this.

> <https://github.com/serverless/serverless-graphql-blog/blob/master/blog/lib/dynamo.js#L8-L9>

Thanks,  
Kevin

---

<div class="post-metadata">

**Author:** ![flomotlik](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.serverless.com/flomotlik/32/3_2.png) [@flomotlik](https://forum.serverless.com/u/flomotlik)\
**Post date:** [September 17, 2016, 1:31pm UTC](https://forum.serverless.com/t/whats-missing-in-our-docs/27/35 "2016-09-17T13:31:35Z")

</div>

@kevinold at the moment adding custom environment variables inside of the lambda functions is not possible, we’re working on something that should hopefully be coming out soonish to make this possible. Very important feature. For now you could use something like dotenv to make this work: [https://www.npmjs.com/package/dotenv](https://www.npmjs.com/package/dotenv)

---

<div class="post-metadata">

**Author:** ![GreenAsJade](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.serverless.com/greenasjade/32/146_2.png) [@GreenAsJade](https://forum.serverless.com/u/GreenAsJade)\
**Post date:** [September 20, 2016, 12:41pm UTC](https://forum.serverless.com/t/whats-missing-in-our-docs/27/36 "2016-09-20T12:41:09Z")

</div>

“What’s missing in the docs?”

The biggest thing I have not been able to find is actual technical documentation (specification/detailed style documentation of APIs and available features)

I’ve worked through [The getting started guide](https://serverless.com/framework/docs/), and anything I could find around there, and it all got me going - that’s great. 👍

But what it didn’t do is document what I’m using.

For example, I can see that one possible signature of an event handler is `(event, context, cb)`, but where is the documentation of this?

What is the first parameter of `cb()`, which in all examples is set to null?

What does `cb()` do with the second argument? (I see from experimentation that this is returned in the HTTP payload … for an http event. But what about other events?)

Similarly, where is the documentation of serverless.yml?

In the guide, I saw an example that said you can do `-http: GET greet`

This doesn’t actually work with serverless-offline. In finding out how to make it work, I discovered you can do

```
-http:
    path: greet
    method: GET

```

… which does work with serverless-offline

Where is this documented?

If there’s some tech doc I’m missing, I’ll be delighted to find it, and maybe a more prominent pointer to it is needed?

---

<div class="post-metadata">

**Author:** ![GreenAsJade](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.serverless.com/greenasjade/32/146_2.png) [@GreenAsJade](https://forum.serverless.com/u/GreenAsJade)\
**Post date:** [September 21, 2016, 3:28am UTC](https://forum.serverless.com/t/whats-missing-in-our-docs/27/37 "2016-09-21T03:28:12Z")

</div>

“ease the access to fine details. In the “full” serverless.yml file I’d like to have links to the specific docs (ie API Gateway4) right there”

Neither of the links in your post appear to be valid. They look like the sort of details I’ve been looking for: are there current versions available?

---

<div class="post-metadata">

**Author:** ![scott-wood-vgh](https://avatars.discourse-cdn.com/v4/letter/s/e274bd/32.png) [@scott-wood-vgh](https://forum.serverless.com/u/scott-wood-vgh)\
**Post date:** [September 23, 2016, 6:48pm UTC](https://forum.serverless.com/t/whats-missing-in-our-docs/27/38 "2016-09-23T18:48:27Z")

</div>

I’m not sure how to include dependencies/common code that isn’t a function with a handler (e.g. helper functions). I’d like to see more on packaging in general, and more complete serverless.yml example files.

---

<div class="post-metadata">

**Author:** ![shailesh](https://avatars.discourse-cdn.com/v4/letter/s/50afbb/32.png) [@shailesh](https://forum.serverless.com/u/shailesh)\
**Post date:** [September 29, 2016, 12:07pm UTC](https://forum.serverless.com/t/whats-missing-in-our-docs/27/39 "2016-09-29T12:07:36Z")

</div>

Hi,

Is there any single document or page from where I can get list of all keywords which can be used in serverless.yml file?

E.g. I found [this hack](http://forum.serverless.com/t/solved-api-gateway-how-to-set-authorization-in-method-request-to-aws-iam/175/3) useful for request header.

```
resources:
  Resources:
     ApiGatewayMethodApiRegisterPost:
        Properties:
          RequestParameters:
            "method.request.header.Authorization": true

```

But now I need to set the same for [API Gateway Custom Authorizers](https://docs.aws.amazon.com/apigateway/latest/developerguide/use-custom-authorizer.html?icmpid=docs_apigateway_console).

Thanks  
Shailesh

---

<div class="post-metadata">

**Author:** ![tomcounsell](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.serverless.com/tomcounsell/32/171_2.png) [@tomcounsell](https://forum.serverless.com/u/tomcounsell)\
**Post date:** [September 29, 2016, 3:09pm UTC](https://forum.serverless.com/t/whats-missing-in-our-docs/27/40 "2016-09-29T15:09:42Z")

</div>

I’m not able to find docs on importing dependancies.  
in v0.5, you could include a requirements.txt and it would package dependancies via pip  
how does this work in v1.0 ?

[Previous page](https://forum.serverless.com/t/whats-missing-in-our-docs/27.md?page=1)

[Next page](https://forum.serverless.com/t/whats-missing-in-our-docs/27.md?page=3)
