-
Hello, I am attempting to run a .net 8 lambda (not AOT) in a docker container. Part of the lambda retrieves secrets from secret manager. The retrieval works fine when running locally in visual studio and using the mock lambda test tool, but once it is deployed in a docker container I get the following exception:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
The I would suggest looking in your deployment bundle at the *.deps.json file and see what is causing the older version of the |
Beta Was this translation helpful? Give feedback.
The
BuildUserAgentString(System.String, System.String)
was added back in December 14, 2023 as part of version3.7.300.19
ofAWSSDK.Core
. As part of that release all service packages were updated to call that new method. So if you have new service assemblies but a version ofAWSSDK.Core
that is older then that version you will get this error.I would suggest looking in your deployment bundle at the *.deps.json file and see what is causing the older version of the
AWSSDK.Core
being brought into your deployment bundle. If possible you can share the contents of the *.deps.json here for help understanding it.