This calculates the md5 hash for the uploaded content and adds as a header to s3:PutObject.
This is required when the s3 bucket has object lock enabled.
Reproduced using current CLI, then confirmed fix with this branch:
$ go run nullstone/main.go push --source=../../Sandbox/nullstone/node-lambda/index.zip --app=test-lambda --env=sandbox
Performing application command (Org=nullstone, App=test-lambda, Stack=, Env=sandbox)
Identifying infrastructure for app "test-lambda"
lambda arn: "arn:aws:lambda:us-east-1:522657839841:function:fuchsia-buffalo-nkuzu"
lambda name: "fuchsia-buffalo-nkuzu"
artifacts bucket: "artifacts-fuchsia-buffalo-nkuzu"
Uploading service-1d0200e9.zip to artifacts bucket
Upload complete
https://app.ora.pm/p/280750?c=9138409
This calculates the md5 hash for the uploaded content and adds as a header to
s3:PutObject
. This is required when the s3 bucket has object lock enabled.Reproduced using current CLI, then confirmed fix with this branch: