We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8535b4d commit 3e92fbcCopy full SHA for 3e92fbc
terraform/account-wide-infrastructure/modules/athena/s3.tf
@@ -2,6 +2,15 @@ resource "aws_s3_bucket" "athena" {
2
bucket = "athena"
3
}
4
5
+resource "aws_s3_bucket_public_access_block" "athena-public-access-block" {
6
+ bucket = aws_s3_bucket.athena.id
7
+
8
+ block_public_acls = true
9
+ block_public_policy = true
10
+ ignore_public_acls = true
11
+ restrict_public_buckets = true
12
+}
13
14
15
resource "aws_s3_bucket_server_side_encryption_configuration" "athena" {
16
bucket = aws_s3_bucket.athena.bucket
0 commit comments