What is the recommended way to implement STS when ...
# help
b
What is the recommended way to implement STS when I already have existing resources. I want to use the image resize lambda, but want to attach it to an existing s3 bucket - https://serverless-stack.com/examples/how-to-automatically-resize-images-with-serverless.html
t
Hey you can import the existing cdk bucket and pass it into the SST bucket when creating it
b
It seems this might not work unless I import the bucket into the cloudformation stack 0- https://stackoverflow.com/questions/46454305/is-it-possible-to-add-notificationconfiguration-to-an-existing-s3-buckets-using. I might jsut make a new bucket in STS instead. I wanted to ask a follow up question. What is the preferred way to set names of buckets, or any reasource for that matter. It seems that sts just does the naming for you, but ideally I’d like a bucket that is named something like images-preprocessed and then images-postprocessed or something like that.