I’ve started working on the repo, I added the bucket and the lambda function. I haven’t got it to work fully yet but no major blocker so far.
You’ll notice I removed the variables for the bucket names. I couldn’t use the account ID as it’s only assigned when the app is deployed and because of that CDK doesn’t allow constructs ID to use that value. However, the buckets are assigned unique names that are a mix of the stack ID, the name entered and a hash so we don’t have to worry about that.
I’ll carry on tomorrow and keep you posted.