Replies: 1 comment
-
Hi @rburcham, I am currently reviewing some older discussion topics and see that this topic is still regarding v1 of the library and we have released v2 of the library in the meantime. You can find the Parameters documentation here: https://docs.powertools.aws.dev/lambda/java/latest/utilities/parameters/. Regarding your issue: During unit tests you should try to mock the provider that you are using such that no remote calls are attempted which is causing the error in your case. Please let me know if your issue still persists and we can re-open this discussion. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
It's clear I do not know the best practice for configuring my java powertools lambda, specifically how to tell powertools in which region it will operate.
private SecretsProvider secretsProvider = ParamManager.getSecretsProvider();
is ultimately throwing
How does one prime the ParamManger with what it needs?
This is during
sam build
, wherein mvn is firing junit tests.Beta Was this translation helpful? Give feedback.
All reactions