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

Created S3 buckets should block public access #171

Open
jdheyburn opened this issue Sep 3, 2020 · 0 comments
Open

Created S3 buckets should block public access #171

jdheyburn opened this issue Sep 3, 2020 · 0 comments

Comments

@jdheyburn
Copy link

Background

It is a best practice to block public access to S3 buckets. The module currently creates a number of S3 buckets publicly.

Desired Change

Something akin to the below. Perhaps it should be enabled by default, where a variable is provided to disable it if need be.

resource "aws_s3_bucket_public_access_block" "block_binaryalert_bucket" {
  bucket                  = BUCKET_IDs
  restrict_public_buckets = true
  block_public_acls       = true
  block_public_policy     = true
  ignore_public_acls      = true
}
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

1 participant