Replies: 1 comment
-
Hi @bdw666 , Not sure what seems to be the problem here because I don't see your code. Regarding the solution in question, I don't see any SDK related code, that just seems like some Docker configuration issue, not an SDK issue. Let me know if you need any other help. |
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
-
Hi!
running an aws-sdk-go app in container built from scratch will not work, in this code GetItem will block forever (or at least until my probes kill the pod, it's probably retrying internally, as I can see it if I add debugging to the session) because it can't validate the TLS certs connecting to AWS.
... session...
dynamodb.New(session)
dynamo.GetItem(item)
Here's the solution to this and any other "FROM scratch" Golang app. https://gist.github.com/michaelboke/564bf96f7331f35f1716b59984befc50
In theory, I would like to see AWS calls fail the first time if the error is related to not being able to validate the certificate.
Beta Was this translation helpful? Give feedback.
All reactions