mirror of
https://github.com/serverless/serverless.git
synced 2026-01-18 14:58:43 +00:00
* Add a new boolean property named `blockPublicAccess`to the `deploymentBucket` config object for the AWS provider. * The property defaults to `false` to retain backwords compatibility with existing infrastructure. * When `true`, the configuration property will enable the [S3 Block Public Access][1]. This will prevent all future policies or ACLs that may grant public access to the deployment bucket. * Update the serverless.yml reference docs to reflect the addition. [1]: https://aws.amazon.com/blogs/aws/amazon-s3-block-public-access-another-layer-of-protection-for-your-accounts-and-buckets/ resolves: https://github.com/serverless/serverless/issues/6706