Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
badra001 committed Jan 18, 2022
1 parent 0942cb5 commit bcd3334
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion s3-access-logs/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ resource "null_resource" "policy_delay" {
# https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/s3_bucket_ownership_controls
#
resource "aws_s3_bucket_ownership_controls" "this" {
bucket = aws_s3_bucket.this.id
bucket = aws_s3_bucket.logs.id

rule {
object_ownership = "BucketOwnerEnforced"
Expand Down

0 comments on commit bcd3334

Please sign in to comment.