sharp-heic-lambda-layer
sharp-heic-lambda-layer copied to clipboard
During AWS CodeBuild: Error: Unable to upload artifact SharpHEICLayer
Hello,
I am attempting to build the layer via AWS CodeBuild, but getting the error below:
[Container] 2023/11/09 17:25:12.344972 Running command npm run deploy
2339 |
2340 | > [email protected] predeploy
2341 | > npm run package
2342 |
2343 |
2344 | > [email protected] prepackage
2345 | > node deployment/createSAMConfiguration.js > samconfig.toml
2346 |
2347 |
2348 | > [email protected] package
2349 | > sam package
2350 |
2351 | Error: Unable to upload artifact SharpHEICLayer referenced by ContentUri parameter of SharpHEICLayer resource.
2352 | An error occurred (AccessDenied) when calling the CreateMultipartUpload operation: Access Denied
2353 |
2354 | [Container] 2023/11/09 17:25:18.485652 Command did not exit successfully npm run deploy exit status 1
2355 | [Container] 2023/11/09 17:25:18.490597 Phase complete: POST_BUILD State: FAILED
2356 | [Container] 2023/11/09 17:25:18.490614 Phase context status code: COMMAND_EXECUTION_ERROR Message: Error while executing command: npm run deploy. Reason: exit status 1
2357 | [Container] 2023/11/09 17:25:18.582919 Phase complete: UPLOAD_ARTIFACTS State: SUCCEEDED
2358 | [Container] 2023/11/09 17:25:18.582940 Phase context status code: Message:
2359
Here are my environment settings:
Environment variables: