This is not spam. I have a technical issue. Not selling anything. The only links in this are linking back to the serverless.com framework itself.
I’m trying to create an event on object creation from an s3 bucket to call a lambda function. Very straight forward. But the problem is that I need to do just a little bit of bucket configuration on the bucket (like adding the CORS configuration to include the ETag header).
My issue is that if I follow the last example from here; https://serverless.com/framework/docs/providers/aws/events/s3/ I get a static bucket name that can’t be reused. I want a normal bucket name with the random string on the end.
How can I accomplish this?