Skip to content

Commit 8bd84a4

Browse files
abetomoDeviaVir
authored andcommitted
Add layers option to readme (#481)
* Add example to help of layers option * Add layers option to README
1 parent 76baf58 commit 8bd84a4

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ AWS_FUNCTION_VERSION // (default: '')
8484
AWS_VPC_SUBNETS // (default: '')
8585
AWS_VPC_SECURITY_GROUPS // (default: '')
8686
AWS_TRACING_CONFIG // (default: '')
87+
AWS_LAYERS // (default: '')
8788
AWS_LOGS_RETENTION_IN_DAYS // (default: '')
8889
EVENT_FILE // (default: 'event.json')
8990
PACKAGE_DIRECTORY // (default: not set)
@@ -181,6 +182,7 @@ Options:
181182
-K, --kmsKeyArn [] Lambda KMS Key ARN
182183
-Q, --deadLetterConfigTargetArn [] Lambda DLQ resource
183184
-c, --tracingConfig [] Lambda tracing settings
185+
-l, --layers [] Lambda Layers settings (e.g. "ARN1,ARN2[,..])" (default: "")
184186
-R, --retentionInDays [] CloudWatchLogs retentionInDays settings
185187
-A, --packageDirectory [build] Local Package Directory
186188
-G, --sourceDirectory [] Path to lambda source Directory (e.g. "./some-lambda")

bin/node-lambda

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ program
9191
AWS_DLQ_TARGET_ARN)
9292
.option('-c, --tracingConfig [AWS_TRACING_CONFIG]', 'Lambda tracing settings',
9393
AWS_TRACING_CONFIG)
94-
.option('-l, --layers [AWS_LAYERS]', 'Lambda Layers settings', AWS_LAYERS)
94+
.option('-l, --layers [AWS_LAYERS]', 'Lambda Layers settings (e.g. "ARN1,ARN2[,..])"', AWS_LAYERS)
9595
.option('-R, --retentionInDays [AWS_LOGS_RETENTION_IN_DAYS]', 'CloudWatchLogs retentionInDays settings',
9696
AWS_LOGS_RETENTION_IN_DAYS)
9797
.option('-A, --packageDirectory [PACKAGE_DIRECTORY]', 'Local Package Directory', PACKAGE_DIRECTORY)

0 commit comments

Comments
 (0)