serverless-screenshot
serverless-screenshot copied to clipboard
Deploy fails if S3 bucket already exists
I have noticed that the sls deploy command fails if the target S3 bucket already exists. An example below for 'my-bucket'. Note that in my case, the target bucket is my own and was independently created in the AWS console.
Serverless Error --------------------------------------- An error occurred while provisioning your stack: S3BucketMybucket - my-bucket already exists.
Have you found a resolution to this issue or has there been any updates outside of this thread?
This is becoming a major headache for me. Too often CloudFormation messes up so I have to delete and then rebuild my stack, and I really don't want to have delete s3 buckets every time.
Anyone got an answer to this?