I followed the instructions on how to turn on SSE on deployment bucket, Serverless v1.16 - S3 server-side encryption and default exclusion of Node.js dev dependencies added, when i do a SLS deploy it returns this error.
An error occurred (ValidationError) when calling the ValidateTemplate operation: Template format error: Unresolved resource dependencies [ServerlessDeploymentBucket] in the Resources block of the template.