Skip to content

Commit

Permalink
Merge pull request #98 from UKHomeOffice/AccessControlListNotSupported
Browse files Browse the repository at this point in the history
modify acl config
  • Loading branch information
Lukmaan-A authored Oct 25, 2023
2 parents 1641c6b + 8bac2c4 commit c8d63c9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,9 @@ resource "aws_s3_bucket_accelerate_configuration" "this" {
}

resource "aws_s3_bucket_acl" "this" {
bucket = aws_s3_bucket.this.id
acl = var.acl
bucket = aws_s3_bucket.this.id
acl = var.acl
depends_on = [aws_s3_bucket_ownership_controls.this]
}

resource "aws_s3_bucket_cors_configuration" "this" {
Expand Down

0 comments on commit c8d63c9

Please sign in to comment.