Skip to content

Issue Deploying existing.sh script for Existing Bucket Protection #260

Answered by jshcodes
jaycrast asked this question in Q&A
Discussion options

You must be logged in to vote

│ Error: creating Lambda Function (s3_bucket_protection): operation error Lambda: CreateFunction, https response error StatusCode: 400, RequestID: 6cfd9a22-505c-49cb-8bda-f6e927040878, InvalidParameterValueException: Uploaded file must be a non-empty zip

This one is because the generated zip file for the lambda is empty. (This is definitely not right.)

Side note: Deprecation warnings are annoying, and shouldn't be preventing deployment... but to be on the safe side, have you downloaded the most recent copies of the existing terraform files? There was an update to these (specifically lambda-function.tf) last month.

│ Call to function "filebase64sha256" failed: open /Users/username/Docum…

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
4 replies
@jaycrast
Comment options

@jaycrast
Comment options

@jshcodes
Comment options

Answer selected by jaycrast
@jaycrast
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants