Skip to content

Instantly share code, notes, and snippets.

@dinhanhhuy
Created July 21, 2023 13:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dinhanhhuy/af03031015cc2810854f7e0535333df2 to your computer and use it in GitHub Desktop.
Save dinhanhhuy/af03031015cc2810854f7e0535333df2 to your computer and use it in GitHub Desktop.
resource "aws_s3_account_public_access_block" "block_all_public" {
block_public_acls = true
block_public_policy = true
ignore_public_acls = true
restrict_public_buckets = true
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment