Skip to content

Commit 39aa6fa

Browse files
kuannie1czimergebot
authored andcommitted
enforcing SSL for every action (#157)
fix:aws-s3-private-bucket:Bucket policy enforces SecureTransport for all actions
1 parent 190c3c2 commit 39aa6fa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

aws-s3-private-bucket/main.tf

+2-2
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,8 @@ data "aws_iam_policy_document" "bucket_policy" {
6969
source_json = "${var.bucket_policy}"
7070

7171
statement {
72-
sid = "EnforceHTTPS"
73-
actions = ["s3:GetObject"]
72+
sid = "EnforceTLS"
73+
actions = ["*"]
7474
resources = ["arn:aws:s3:::${var.bucket_name}/*"]
7575

7676
principals {

0 commit comments

Comments
 (0)