Skip to content

Commit 2aa607d

Browse files
PavloPavlichenkopavlo-pavlichenko-symphonyantonbabenko
authored
fix: Fixed the issue with ACLs configuration update (#202)
Co-authored-by: Pavlo Pavlichenko <[email protected]> Co-authored-by: Anton Babenko <[email protected]>
1 parent 94e8c67 commit 2aa607d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

main.tf

+3
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,9 @@ resource "aws_s3_bucket_acl" "this" {
6969
}
7070
}
7171
}
72+
73+
# This `depends_on` is to prevent "AccessControlListNotSupported: The bucket does not allow ACLs."
74+
depends_on = [aws_s3_bucket_ownership_controls.this]
7275
}
7376

7477
resource "aws_s3_bucket_website_configuration" "this" {

0 commit comments

Comments
 (0)