Skip to content
Prev Previous commit
Next Next commit
Update main.tf
Co-authored-by: Joe Niland <joe@originalmind.com.au>
  • Loading branch information
mihaiplesa and joe-niland authored Oct 14, 2022
commit bb1cc85b589b88cdf98aaafa714ea7faed3d559f
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ resource "aws_s3_bucket" "default" {

resource "aws_s3_bucket_acl" "default" {
count = module.this.enabled ? 1 : 0
bucket = aws_s3_bucket.default.*.id
bucket = join("", aws_s3_bucket.default.*.id)
acl = "private"
}

Expand Down