Skip to content

Commit 5a7d337

Browse files
authored
Merge pull request #10 from synapsestudios/8-remove-acls
Remove explicit private ACLs, since ACLs are disallowed by default
2 parents 6640637 + fdcaab7 commit 5a7d337

File tree

3 files changed

+0
-12
lines changed

3 files changed

+0
-12
lines changed

README.md

-2
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,6 @@ No modules.
7070
| [aws_kms_key.this](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/kms_key) | resource |
7171
| [aws_s3_bucket.this](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/s3_bucket) | resource |
7272
| [aws_s3_bucket.this-logs](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/s3_bucket) | resource |
73-
| [aws_s3_bucket_acl.this](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/s3_bucket_acl) | resource |
74-
| [aws_s3_bucket_acl.this-logs](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/s3_bucket_acl) | resource |
7573
| [aws_s3_bucket_logging.this](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/s3_bucket_logging) | resource |
7674
| [aws_s3_bucket_public_access_block.this](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/s3_bucket_public_access_block) | resource |
7775
| [aws_s3_bucket_public_access_block.this-logs](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/s3_bucket_public_access_block) | resource |

log.tf

-5
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,6 @@ resource "aws_s3_bucket_public_access_block" "this-logs" {
1212
restrict_public_buckets = true
1313
}
1414

15-
resource "aws_s3_bucket_acl" "this-logs" {
16-
bucket = aws_s3_bucket.this-logs.id
17-
acl = "private"
18-
}
19-
2015
resource "aws_s3_bucket_server_side_encryption_configuration" "this-logs" {
2116
bucket = aws_s3_bucket.this-logs.id
2217

main.tf

-5
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,6 @@ resource "aws_s3_bucket_public_access_block" "this" {
1919
restrict_public_buckets = true
2020
}
2121

22-
resource "aws_s3_bucket_acl" "this" {
23-
bucket = aws_s3_bucket.this.id
24-
acl = "private"
25-
}
26-
2722
resource "aws_s3_bucket_versioning" "this" {
2823
bucket = aws_s3_bucket.this.id
2924

0 commit comments

Comments
 (0)