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
S3 Bucket Lambda notifications in Cloudformation for an Existing Bucket #1020
Comments
This is similar to #124. I agree that this would be a nice feature; it would require either a change to how events work with the CFN S3 bucket resource, or using a custom resource to add the event to an existing resource. |
This seems familiar. We work with different stages of cloudformation in which buckets are created in a different CF than the Lambda functions.
|
+1 |
I think i need to update the workaround in nodejs 10.x the BucketConfiguration is still the same, updated the runtime and "cfn-response" is still supported. S3BucketConfiguration: |
I am trying to add an S3 event to Lambda for an existing bucket using Cloudformation, but it is not working and says "S3 events must reference an S3 bucket in the same template". I checked few blogs but looks like this functionality is not supported via cloud formation. Would you please take it as a feature enhancement to allow the pre-existing s3 bucket as a trigger to Lambda using the Cloudformation.
Here is the CF script
The text was updated successfully, but these errors were encountered: