Skip to content

Commit 09d77db

Browse files
committed
update readme
1 parent dd58a53 commit 09d77db

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

readme.md

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,12 @@ Automate the deployment of lambda functions easily from either a developers mach
1111
Goals
1212
-----
1313

14-
- secure by default
15-
- upload and configure lambda functions with a minimum set of AWS permissions.
16-
- sensitive configuration information e.g. database connection credentials are not exposed to either a CI system, developer machine or (shock horror) Github!
17-
- easy to integrate CI or the developer workflow
18-
- integrate cleanly with existing AWS environments
14+
- Manage permissions and secrets :
15+
- AWS permissions are managed centrally with a minimum set exposed
16+
- Sensitive configuration information e.g. database connection credentials are not exposed to either a CI system, developer machine or (shock horror) Github!
17+
- Easy to integrate CI or the developer workflow
18+
- Integrate cleanly with existing AWS environments
19+
- Ability to automatically delete unused functions
1920

2021
Usage
2122
-----
@@ -38,6 +39,8 @@ module "auto_deployer" {
3839
s3_bucket_arn = "${aws_s3_bucket.deployment_uploads.arn}" // arn of the AWS S3 bucket to monitor for uploads
3940
s3_bucket_id = "${aws_s3_bucket.deployment_uploads.id}" // name of the AWS S3 bucket bucket to monitor for uploads
4041
42+
maximum_unaliased_versions = 10 // number of unused functions to be retained
43+
4144
env_vars = {
4245
variables = {
4346
FOO = "BAR" // variables to configure the lambda function with
@@ -61,7 +64,7 @@ export AWS_SECRET_ACCESS_KEY=***********************
6164
lambda-uploader-linux-amd64 up -b myS3Bucket \
6265
-a myAlias \
6366
-d "AUTOMATED DEPLOY" \
64-
-e handler.Handle \
67+
-e myEntry.Point \
6568
-r python2.7 \
6669
-n myFunction /path/to/function.zip
6770

0 commit comments

Comments
 (0)