I have two functions, one dumps some files in S3 and the other responds to s3:ObjectCreated:* and is supposed to perform some transformations on the data (and perhaps dump it into another bucket).
Right now any bucket used as an event source has to be created during deployment, unless a plugin is used. I wonder if I should really use that plugin, as my buckets are supposed to serve the purpose of an archive and I don’t think it’d be a good idea to attach those to the lifetime of any function’s deployment, yet I’m not sure how tightly is this is going to be coupled to the deployment, can someone help me to understand it better?
Also, I’m kind of wondering whether this whole problem is really just to do with limitation in CloudFormation/IAM, or it’s somewhat deliberate? I’ve not figured why would input buckets have to be created, why it is up to me to create any output buckets, or am I missing something?