Small bit of confusion - this chapter references the environment variable in our serverless.yml as the following:
# These environment variables are made available to our functions
# under process.env.
environment:
tableName:
Ref: NotesTable
When (I believe) it should look like:
environment:
tableName: ${self:custom.tableName}