I am trying to use AWS dynamodb for the KV store and I running into the following error #5840
-
Error: Platform : kubernetes Configuration for the Ingestor
Also tried by setting the AWS region via the environment. The aws credentials are upload via the serviceaccount, I have used the same serviceaccount with another golang-pod which also talks to the dynamodb and that seem to be working. Looking for some suggestions |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
@danielblando Can you help take a look? |
Beta Was this translation helpful? Give feedback.
-
Found the issue. We are setting the config in the wrong configuration. They request us to set in awsConfig and not sessionConfig. I am just not sure why it causes a null pointer in aws-sdk. I will create a fix for it.
Does this works? This is how we run it and should work. Are you put env var and removing region from config? |
Beta Was this translation helpful? Give feedback.
-
@danielblando Thanks for that suggestion. So I was putting the AWS_REGION env variable as well as |
Beta Was this translation helpful? Give feedback.
-
Fix merged |
Beta Was this translation helpful? Give feedback.
@kushal-otter
Found the issue. We are setting the config in the wrong configuration. They request us to set in awsConfig and not sessionConfig. I am just not sure why it causes a null pointer in aws-sdk.
I will create a fix for it.
Does this works? This is how we run it and should work. Are you put env var and removing region from config?