nx-aws
nx-aws copied to clipboard
NX monorepo with AWS S3 caching
Since updating to version `3.2.0` we have the following error: ``` Error: endpointV2Middleware is not found when adding regionRedirectEndpointMiddleware middleware before endpointV2Middleware at /node_modules/@smithy/middleware-stack/dist-cjs/index.js:154:17 at Array.forEach () at getMiddlewareList (/node_modules/@smithy/middleware-stack/dist-cjs/index.js:143:31)...
if i use option awsBucket: "bucket-name/path-to-a-folder" in windows will create ``` bucket-name "path-to-a-folder\hash.tgz" ``` and in linux ` ``` bucket-name path-to-a-folder "hash.tgz" ``` making different caches for each of them
Bumps [@actions/github](https://github.com/actions/toolkit/tree/HEAD/packages/github) from 5.1.1 to 6.0.0. Changelog Sourced from @actions/github's changelog. 6.0.0 Support the latest Octokit in @actions/github #1553 Drop support of NodeJS v14, v16 Commits See full diff in...
The only S3 actions that are explicitly used are GetObject, `PutObject`, `PutObjectACL`, and `GetObjectAttributes`, However, the code is written in a way that implicitly requires `ListBucket` https://github.com/bojanbass/nx-aws/blob/ddcc209d6a6f7612e0de30485edb865ed8cdbdb0/packages/nx-aws-cache/src/tasks-runner/aws-cache.ts#L226-L231 ``` private async...
Bumps the aws-sdk group with 3 updates in the / directory: [@aws-sdk/client-s3](https://github.com/aws/aws-sdk-js-v3/tree/HEAD/clients/client-s3), [@aws-sdk/credential-providers](https://github.com/aws/aws-sdk-js-v3/tree/HEAD/packages/credential-providers) and [@aws-sdk/lib-storage](https://github.com/aws/aws-sdk-js-v3/tree/HEAD/lib/lib-storage). Updates `@aws-sdk/client-s3` from 3.600.0 to 3.617.0 Release notes Sourced from @aws-sdk/client-s3's releases. v3.617.0 3.617.0(2024-07-22) Chores...
Bumps [tar](https://github.com/isaacs/node-tar) from 7.4.0 to 7.4.1. Commits f1d7a4d 7.4.1 e434c7b some cleanup/formatting around onWriteEntry cc7ce8e github didn't write this, I did See full diff in compare view [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)...
Bumps [@swc/helpers](https://github.com/swc-project/swc) from 0.5.11 to 0.5.12. Commits See full diff in compare view [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter...
Fixes issue #433 When GetHeadObject command is returned if you don't have `s3:ListBucket` permissions, then you will receive a 403 error. This case would still indicate that the bucket object...
A recent bug in my pipeline was causing some files to be missing from the cache. After investigating I narrowed it down to a missing folder called `source`. Renaming that...
Github recommends using GitHub's OIDC provider (AssumeRoleWithWebIdentity) to set up AWS credentials: [see here](https://github.com/marketplace/actions/configure-aws-credentials-action-for-github-actions). When setting up AWS credentials this way in Github Actions, I am successfully able to upload...