Anybody knows how can I disable s3 ACL? I'm using Golang. There is a func s3.NewBucketOwnershipControls that I can use to change ownership control:
&s3.BucketOwnershipControlsArgs{
Bucket: bucket.ID(),
Rule: &s3.BucketOwnershipControlsRuleArgs{
ObjectOwnership: pulumi.String("BucketOwnerPreferred"),
},
}
But there doesn't like there is a way that I can disable ACL with this function. By default, the ACL is enabled when Bucket is created.