Setting environment variables

Hi I have tried to set an environment variable as shown in the documentation:

functions:
users:
handler: handler.users
environment:
TABLE_NAME: tableName2

However when i go to print the environment variables in the users functions I do not see the environment variable.
Does somebody know how to set the environment variables through the severless.yml
Thanks for any help

[EDIT]
This problem has been solved. The environment property is a feature in 1.2. I had severless 1.1 installed