Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add BlockPublicAccess required config #384

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kevincerro
Copy link

@kevincerro kevincerro commented Feb 20, 2024

Fixes #320

Description

Since april 2023, AWS S3 enforces two new default bucket security settings by automatically enabling S3 Block Public Access and disabling S3 access control lists (ACLs) for all new S3 buckets

This hotfix adds missing required BlockPublicAccess configuration.

How to Reproduce

Deploy this stack and error is thrown.

service: demo

provider:
    name: aws
    region: eu-west-3
    stage: prod

plugins:
    - serverless-lift

constructs:
    demo:
        type: static-website
        path: dist

Before

Captura de pantalla 2024-02-20 a las 23 27 10

After

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

static-site construct will not deploy
1 participant