-
Notifications
You must be signed in to change notification settings - Fork 4.4k
aws-cdk/aws-s3: Unable to deploy CDK due to asset bucket request missing headers #31926
Copy link
Copy link
Closed
Closed
Copy link
Labels
@aws-cdk/aws-s3Related to Amazon S3Related to Amazon S3bugThis issue is a bug.This issue is a bug.p1potential-regressionMarking this issue as a potential regression to be checked by team memberMarking this issue as a potential regression to be checked by team member
Description
Describe the bug
Dependabot recently updated our CDK to version 2.164.1 which has broken our deployments due an issue publishing to s3. The Error is (sensitive information removed):
event-handlerCluster: start: Building
aee30b6515587d0de5c06fce1889cea27c2ae6eaf9ada7885811078e911caf2c:000000000000-eu-west-1
event-handlerCluster: success: Built
event-handlerCluster: success: Built aee30b6515587d0de5c06fce1889cea27c2ae6eaf9ada7885811078e911caf2c:000000000000-eu-west-1
event-handlerApplication: start: Building 771cc1f4e8115208b9f2549d7b353fe88ccf21f59c2f4cff0062b49a57b37751:000000000000-eu-west-1
event-handlerApplication: success: Built 771cc1f4e8115208b9f2549d7b353fe88ccf21f59c2f4cff0062b49a57b37751:000000000000-eu-west-1
event-handlerCluster: start: Publishing aee30b6515587d0de5c06fce1889cea27c2ae6eaf9ada7885811078e911caf2c:000000000000-eu-west-1
event-handlerCluster: fail: Content-MD5 OR x-amz-checksum- HTTP header is required for Put Object requests with Object Lock parameters
Our buckets have Governance Objects lock on them which we cannot remove.
It seems like it might be related to the FIPS configuration recently raised here: #31883
Reverting to a previous CDK version allowed the deployment to complete but this impacts our patch management if we cannot update CDK.
Regression Issue
- Select this option if this issue appears to be a regression.
Last Known Working CDK Version
2.162.1
Expected Behavior
CDK deploy works as expected
Current Behavior
CDK deployment fails when the asset buckets have an object lock
Reproduction Steps
Run CDK Deploy for our stack as normal
Possible Solution
No response
Additional Information/Context
No response
CDK CLI Version
2.164.1
Framework Version
No response
Node.js Version
18.20.4
OS
Linux & Mac OS
Language
TypeScript
Language Version
No response
Other information
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
@aws-cdk/aws-s3Related to Amazon S3Related to Amazon S3bugThis issue is a bug.This issue is a bug.p1potential-regressionMarking this issue as a potential regression to be checked by team memberMarking this issue as a potential regression to be checked by team member