diff --git a/terraform/modules/data_poisoning/main.tf b/terraform/modules/data_poisoning/main.tf index aaf43f0..a6b412a 100644 --- a/terraform/modules/data_poisoning/main.tf +++ b/terraform/modules/data_poisoning/main.tf @@ -81,10 +81,10 @@ resource "aws_s3_bucket_ownership_controls" "s3_bucket_acl_ownership" { resource "aws_s3_bucket_public_access_block" "public_access_allow" { bucket = aws_s3_bucket.sagemaker_recommendation_bucket.id - block_public_acls = false - block_public_policy = false - ignore_public_acls = false - restrict_public_buckets = false + block_public_acls = true + block_public_policy = true + ignore_public_acls = true + restrict_public_buckets = true }