enough-activity-88417
06/12/2023, 7:48 AMpulumi up
I am getting the following error:
Error putting S3 Grants: AccessControlListNotSupported: The bucket does not allow ACLs
const POC = new aws.s3.Bucket(
POCS3BucketName,
{
bucket: POCS3BucketName,
forceDestroy: false,
grants: [
{
id: currentAwsUser.then((currentUser) => currentUser.id),
type: "CanonicalUser",
permissions: ["FULL_CONTROL"]
}
],
versioning: {
enabled: true
},
lifecycleRules: archiveLogsLifecycleRules,
serverSideEncryptionConfiguration: archiveBucketServerSideEncryption
},
{
protect: true
}
);
salmon-account-74572
06/12/2023, 12:12 PMenough-activity-88417
06/12/2023, 12:25 PMconst publicMetricsBlock = new aws.s3.BucketPublicAccessBlock(
CHPOCS3BucketBlock,
{
bucket: ClickHousePOC.id,
blockPublicAcls: false,
blockPublicPolicy: true,
ignorePublicAcls: true,
restrictPublicBuckets: true
},
{ parent: ClickHousePOC }
);
to reference my bucket, still doesn't work