nx powerpack s3 cache - custom aws environment variable name #30339
Replies: 3 comments
-
I have the same issue with the free version of the plugin ( |
Beta Was this translation helpful? Give feedback.
-
I'm part of a multi-region team and we chose to use region-specific buckets for our S3 cache. Developers in each region tend to work together so sharing caches is most important within a region to reduce latency. There's a separate bucket for CI that developers can't write to and is replicated to each region to pre-populate caches as much as possible. We're using @pellegrims/nx-remotecache-s3 which makes this easy by allowing any option to be set through an environment variable instead of only in I'm investigating whether we can switch to |
Beta Was this translation helpful? Give feedback.
-
Same issue here, my company is planning to have a trusted bucket in our AWS prod environment that only our build process can read/write to and it would then be replicated into a bucket in our AWS dev environment that devs would be able to read from in their local builds. Our prod and dev environments are in different regions currently. It seems like support for reading credentials through the AWS SDK was added but region is still required to be hard-coded. Not having support for reading the region from pre-configured AWS environment variables that are standard, or just any environment variable, makes it seem like we will have to use a third-party plugin for caching. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
i want to be able to use a different environment names, other than
AWS_ACCESS_KEY_ID
andAWS_SECRET_ACCESS_KEY
and configure it innx.json
. e.g.i have multiple aws credentials for different parts of my ci/cd pipeline. plus, some providers such as netlify reserve the default environment variable names.
it doesn't look like this option is available as of powerpack-s3-cache v1.2.5. it'd be great if this can be added soon.
Beta Was this translation helpful? Give feedback.
All reactions