[PYTHON] Set environment variables with lambda-uploader

https://github.com/rackerlabs/lambda-uploader

I'll give it in json format

$ lambda-uploader --variables '{"foo": "bar"}'

Reference in lambda function

import os

def lambda_handler(event, context):

    print(os.environ['foo'])

Recommended Posts

Set environment variables with lambda-uploader
Read system environment variables with python-Part 1
Read system environment variables with python-Part 2
Shell variables, environment variables
[Python] Get environment variables
What are environment variables?
Python environment with docker-compose
Virtual environment with Python 3.6
Set up a Python development environment with Sublime Text 2
Environment variables when using Tkinter
Easy tox environment with Jenkins
Handle Go environment variables (viper)
Create an environment with virtualenv
Set connection timeout with boto3
Minimal website environment with django
Set up a Python development environment with Visual Studio Code
Install Python environment with Anaconda
Manage python environment with virtualenv
What are environment variables? (Linux)
venv environment with windows powershell
Handle environment variables in Python
Build python3 environment with ubuntu 16.04
ML environment construction with Miniconda
HTTP environment variables in Flask
Prepare python3 environment with Docker
Build python environment with direnv
Switch virtual environment with jupyter
Flow in which malloc parameters are set from environment variables
Building a kubernetes environment with ansible 2
Prepare pipenv environment with amazon Linux 2
Activate Anaconda's virtual environment with PowerShell
Get started with Python! ~ ① Environment construction ~
Set up social login with Django
Setup modern Python environment with Homebrew
ruby environment construction with aws EC2
Set python compile options with pyenv
Build Mysql + Python environment with docker
Easy Jupyter environment construction with Cloud9
Create a virtual environment with Python!
Feature Engineering Traveling with Pokemon-Category Variables-
Build Flask environment with Dockerfile + docker-compose.yml
Build PyPy execution environment with Docker
Set up Python environment on CentOS
Try giving AWS Lambda environment variables?
Build IPython Notebook environment with boot2docker
Reduce redundant dummy variables with OneHotEndoder
Automate environment construction with Shell Script
Python3 environment construction with pyenv-virtualenv (CentOS 7.3)
Using Chainer with CentOS7 [Environment construction]
pytorch @ python3.8 environment construction with pipenv
Prepare Python development environment with Atom
[Python] Inherit a class with class variables
Rebuild Django's development environment with Docker! !! !! !!
Data science environment construction with Docker
Easy deployment environment with gaffer + fabric
Prepare the development environment with anyenv
Environment construction with pyenv and pyenv-virtualenv