Skip to content

Commit 907dfb0

Browse files
committed
Include AWSSDK.SecurityToken in Lambda Test Tool runtime payload
The packaged Lambda Test Tool global tool does not ship AWSSDK.SecurityToken.dll, so any code path that resolves credentials via AssumeRoleAWSCredentials (profiles with role_arn, etc.) crashes with FileNotFoundException when the SDK reflectively loads the assembly to construct an STS client. Add a direct PackageReference so the DLL ships in tools/<tfm>/any/.
1 parent d1d9858 commit 907dfb0

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Tools/LambdaTestTool-v2/src/Amazon.Lambda.TestTool/Amazon.Lambda.TestTool.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
<PackageReference Include="Amazon.Lambda.SQSEvents" Version="2.2.1" />
2626
<PackageReference Include="AWSSDK.Extensions.NETCore.Setup" Version="4.0.3.22" />
2727
<PackageReference Include="AWSSDK.Lambda" Version="4.0.13.1" />
28+
<PackageReference Include="AWSSDK.SecurityToken" Version="4.0.6.3" />
2829
<PackageReference Include="AWSSDK.SQS" Version="4.0.2.14" />
2930
<PackageReference Include="AWSSDK.SSO" Version="4.0.2.13" />
3031
<PackageReference Include="AWSSDK.SSOOIDC" Version="4.0.3.14" />

0 commit comments

Comments
 (0)