This template will help you get past a common issue when working withAWS CloudFormation or Serverless Framework and creating AWS S3 buckets.
The error prevents you from removing non-empty AWS S3 buckets utilizing a Serverless Framework plugin called s3-remover.
By copying pieces of this template you can work in the plugin into your serverless applications and delete non-empty s3 buckets.
Serverless Guru is a serverless-first consulting company specializing in helping major brands in every step of their serverless journey.