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 block public access to Artifact/AccessLogs Buckets created by CloudFormation-CLI #978

Closed
moharirn opened this issue Mar 15, 2023 · 1 comment

Comments

@moharirn
Copy link

Issue: CloudFormationManagedUploadInfrastructure Stack creates two Amazon Simple Storage Service (Amazon S3) buckets: ArtifactBucket and AccessLogsBucket. These buckets are not created with block public access permissions.

Workaround:

Solution:
Add the PublicAccessBlockConfiguration to the template as below:

      PublicAccessBlockConfiguration: 
        BlockPublicAcls: true
        BlockPublicPolicy: true
        IgnorePublicAcls: true
        RestrictPublicBuckets: true
@mmaeng
Copy link
Contributor

mmaeng commented May 9, 2023

Resolved in #977

@mmaeng mmaeng closed this as completed May 9, 2023
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

No branches or pull requests

2 participants