-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add S3EventSource Not Possible with Existing Bucket #5364
Comments
@eladb
This doesn't work either:
I get the following error:
|
So I basically need to just setup a SNS topic for ALL file uploads to a bucket and filter inside of my lamba which is less than ideal. |
@eladb I would argue that this is actually a bug not a feature request. Why would you not be able to perform actions such as addEventNotification to an existing bucket? This somehow seems wrong to me. Unless there is an alternative way to do this without having to create an entirely new bucket. |
I have same problem now. |
Duplicate with #2004 |
this feature should be supported from the beginning |
I have an existing bucket that I would like to trigger a lambda whenever a zip file is uploaded so that the lambda can unzip it and process the unzipped files.
However, I cannot add S3EventSource to an existing S3 bucket. For example, this fails to compile:
The error is:
Is this by design? If so, how else can I obtain the desired effect?
Reproduction Steps
Where
props.s3Bucket
is the name of a existing S3 bucket.Error Log
Environment
Other
This is 🐛 Bug Report
The text was updated successfully, but these errors were encountered: