I am using S3 suffix rules using the following configuration in my serverless.yml file
resources:
Resources:
[BUCKET NAME]:
Type: AWS::S3::Bucket
Properties:
Rules:
- Name: suffix
Value: xls
- Name: suffix
Value: xlsx
But when deploying it is giving the error “Encountered unsupported property Rules.”