BucketDeployment: invalid system metadata keys server-side-encryption
and ssekms-key-id
#6002
Labels
@aws-cdk/aws-kms
Related to AWS Key Management
@aws-cdk/aws-s3
Related to Amazon S3
bug
This issue is a bug.
Setting props serverSideEncryption or serverSideEncryptionAwsKmsKeyId results in a failure to deploy.
Reproduction Steps
Error Log
From lambda:
Environment
CLI Version :
1.21.1
Framework Version:
1.21.1
Language :
typescript
Other
Invalid system metadata keys:
From documentation, these should be:
sse
sse-kms-key-id
System metadata keys usage to construct the s3 sync operation here:
https://github.com/aws/aws-cdk/blob/master/packages/%40aws-cdk/aws-s3-deployment/lambda/src/index.py#L156
This is 🐛 Bug Report
The text was updated successfully, but these errors were encountered: