You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
Caused by: java.lang.NullPointerException: region must not be null.
at software.amazon.awssdk.utils.Validate.paramNotBlank(Validate.java:177)
at software.amazon.awssdk.regions.Region.of(Region.java:153)
at software.amazon.awssdk.regions.Region.of(Region.java:149)
at software.amazon.lambda.powertools.parameters.SecretsProvider$Builder.createClient(SecretsProvider.java:163)
at software.amazon.lambda.powertools.parameters.SecretsProvider$Builder.access$0(SecretsProvider.java:160)
at software.amazon.lambda.powertools.parameters.SecretsProvider.<init>(SecretsProvider.java:83)
... 41 more
How does one prime the ParamManger with what it needs?
This is during sam build, wherein mvn is firing junit tests.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
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