-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Closed
Labels
effort/mediumMedium work item – several days of effortMedium work item – several days of effortfeature-requestA feature should be added or improved.A feature should be added or improved.p2package/toolsRelated to AWS CDK Tools or CLIRelated to AWS CDK Tools or CLI
Description
Reproduction Steps
- cdk bootstrap with legacy bootstrap, provide kms key id as param
- have a SCP setup that denies s3:PutObject if s3:x-amz-server-side-encryption is missing
- create a CDK app that provisions a lambda asset
- execute cdk deploy
- deploy fails and receive Access Denied error
What did you expect to happen?
i expect CDK deploy to explicitly use the kms key i specified in the bootstrap when uploading assets.
What actually happened?
cdk deploy does not provide SSE and the deploy fails with Access Denied.
It appears to be relying on the S3 default encryption instead of specifying the SSE options to the S3 put object request.
Environment
- CLI Version : 1.71.0
- Framework Version:
- Node.js Version: v12.16.1
- OS : Windows 10
- Language (Version): Python 3.8.5
Other
This is 🐛 Bug Report
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
effort/mediumMedium work item – several days of effortMedium work item – several days of effortfeature-requestA feature should be added or improved.A feature should be added or improved.p2package/toolsRelated to AWS CDK Tools or CLIRelated to AWS CDK Tools or CLI