Skip to content

Commit 283f2de

Browse files
Set lambda trigger to existing s3 bucket
Signed-off-by: karikarshivani <karikarshivani@gmail.com>
1 parent f50c7d3 commit 283f2de

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

serverless.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,8 @@ provider:
1414
- "s3:*"
1515
Resource:
1616
- "*"
17-
deploymentBucket: # Custom configuration for deployment bucket is unique and put here
17+
deploymentBucket: # Custom configuration for deployment bucket
1818
blockPublicAccess: true
19-
environment:
20-
INPUT_BUCKET: ${env:INPUT_BUCKET}
2119

2220
functions:
2321
saf:
@@ -32,6 +30,7 @@ functions:
3230
existing: true # test pending in CMS
3331
environment:
3432
COMMAND_STRING: ${env:COMMAND_STRING}
33+
INPUT_BUCKET: ${env:INPUT_BUCKET}
3534
INPUT_PREFIX: ${env:INPUT_PREFIX, ""}
3635
OUTPUT_BUCKET: ${env:OUTPUT_BUCKET, env:INPUT_BUCKET}
3736
OUTPUT_PREFIX: ${env:OUTPUT_PREFIX, "results/"}

0 commit comments

Comments
 (0)