Issue Deploying Signed Lambda Package with S3 Event Trigger Using Serverless Framework #12924
Unanswered
muhammedsaidkaya
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi everyone,
I would like to ask a question about how I can deploy my signed Lambda package, which is triggered by S3 events (e.g., whenever an
s3:ObjectCreated:*
event occurs in an existing bucket).Context:
serverless package
to generate the artifact.aws signer start-signing-job
to sign the package..serverless
directory's artifact.serverless deploy --package .serverless
.Problem:
When defining the S3 event trigger in
serverless.yml
, the framework creates a Custom Resource Lambda via CloudFormation. This additional Lambda function is not compatible with signed packages, causing the deployment to fail with the following error:Workarounds Tried:
existing: false
for the S3 trigger.Question:
How can I properly deploy a signed Lambda package with an S3 event trigger using the Serverless Framework?
Are there recommended approaches to avoid the Custom Resource Lambda being incompatible with signed packages?
Any guidance would be greatly appreciated!
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions