I think this documentation need update : <https://...
# general
I think this documentation need update : https://www.pulumi.com/registry/packages/aws/api-docs/codebuild/project/#buildspec_nodejs I got this error:
Copy code
error creating S3 bucket ACL for code-build-bucket-uat-website-f9ff2ef: AccessControlListNotSupported: The bucket does not allow ACLs
and here is the pulumi.ai suggestion:
Copy code
const bucketPolicy = new aws.s3.BucketPolicy(`code-build-bucket-${stackName}-${serviceName}-policy`, {
	bucket: cacheBucket.bucket,
	policy: pulumi.interpolate`{
		"Version": "2012-10-17",
		"Statement": [{
			"Sid": "IPAllow",
			"Effect": "Deny",
			"Principal": "*",
			"Action": "s3:*",
			"Resource": "arn:aws:s3:::code-build-bucket-${stackName}-${serviceName}/*",
			"Condition": {
                "Bool": { "aws:SecureTransport": "false"}
Thanks for pointing this up. Please go ahead and submit a GitHub issue so our team can follow up. https://github.com/pulumi/registry/issues/new/choose
Sure, Thank you