Skip to content

Commit c529986

Browse files
committed
Cleaning up the documentation now that the pull was done.
1 parent 946367f commit c529986

File tree

1 file changed

+2
-15
lines changed

1 file changed

+2
-15
lines changed

README.rst

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,6 @@ python-λ
1212

1313
Python-lambda is a toolset for developing and deploying *serverless* Python code in AWS Lambda.
1414

15-
NOTE: CHANGES FROM BASE REPOSITORY
16-
==================================
17-
18-
* Adding Python 3.6 support for the local environment & the lambda runtime
19-
* Supports "secret" environment variable values by reading them from the local environment during deploy instead of using hard-coded ones in the config file.
20-
* You can install this version via pip with ``pip install --editable git+https://github.com/asaolabs/python-lambda#egg=python-lambda``
21-
22-
2315
A call for contributors
2416
=======================
2517
With python-lambda and `pytube <https://github.com/nficano/pytube/>`_ both continuing to gain momentum, I'm calling for contributors to help build out new features, review pull requests, fix bugs, and maintain overall code quality. If you're interested, please email me at nficano[at]gmail.com.
@@ -161,19 +153,14 @@ Now try and run:
161153
162154
Environment Variables
163155
=====================
164-
Lambda functions support environment variables. In order to set environment variables for your deployed code to use, you can configure them in ``config.yaml``
156+
Lambda functions support environment variables. In order to set environment variables for your deployed code to use, you can configure them in ``config.yaml``. To load the
157+
value for the environment value at the time of deployment, you can use local environment values (see 'env3' in example code below).
165158

166159
.. code:: yaml
167160
168161
environment_variables:
169162
env1: foo
170163
env2: baz
171-
172-
You can also keep "secrets" out of your config file by using the following syntax ``${}`` to read the values from your current/local environment.
173-
174-
.. code:: yaml
175-
176-
environment_variables:
177164
env3: ${LOCAL_ENVIRONMENT_VARIABLE_NAME}
178165
179166
This would create environment variables in the lambda instance upon deploy. If your functions don't need environment variables, simply leave this section out of your config.

0 commit comments

Comments
 (0)