Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

During AWS CodeBuild: Error: Unable to upload artifact SharpHEICLayer #28

Open
tlmader opened this issue Nov 9, 2023 · 0 comments
Open

Comments

@tlmader
Copy link

tlmader commented Nov 9, 2023

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:

CleanShot 2023-11-09 at 12 09 34@2x

Environment variables:

CleanShot 2023-11-09 at 12 48 42@2x

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant