Skip to content

Commit afe62da

Browse files
authored
Update ID of bucket policy to include bucket name (#10)
1 parent b1c69be commit afe62da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ resource "aws_s3_bucket_policy" "this" {
1010

1111
policy = jsonencode({
1212
Version = "2012-10-17"
13-
Id = "this"
13+
Id = "${aws_s3_bucket.this.bucket}-https-only-policy"
1414
Statement = [
1515
{
1616
Sid = "HTTPSOnly"

0 commit comments

Comments
 (0)