This Lambda showcases how you can prohibit certain users from seeing or interacting with the environment variables of a Lambda.
Deployment assumes that you use aws cloudformation package
followed by aws cloudformation deploy
. Here's a suggested Makefile for allowing you to type make deploy
. Note that the S3DEPLOYBUCKET and SECRET_PASSWORD
variables need to be changed:
SECRET_PASSWORD ?= pancakes
S3DEPLOYBUCKET = my-s3-bucket