Closed runebaas closed 3 years ago
--profile
parameter. Reproducible using Amazon.Lambda.Tools
version 5.1.2
. Looks like we need to update .NET CLI tools with latest version of AWSSDK.Core
dependency containing SSO fix.
The following packages have been released which reference of AWSSDK.Core 3.7.0.27
and AWSSDK.SecurityToken 3.7.1.15
:
Using latest version, these do not give the error Error logging on with the docker CLI: Value cannot be null.
and Parameter name: Options property cannot be empty: ClientName
.
Thank you very much, the error is indeed gone 🎉
However, another error has showed up
Error logging on with the docker CLI: Assembly AWSSDK.SSOOIDC could not be found or loaded. This assembly must be available at runtime to use Amazon.Runtime.SSOAWSCredentials, AWSSDK.Core, Version=3.3.0.0, Culture=neutral, PublicKeyToken=.......
Thank you very much, the error is indeed gone 🎉
However, another error has showed up
Error logging on with the docker CLI: Assembly AWSSDK.SSOOIDC could not be found or loaded. This assembly must be available at runtime to use Amazon.Runtime.SSOAWSCredentials, AWSSDK.Core, Version=3.3.0.0, Culture=neutral, PublicKeyToken=.......
Hi @runebaas,
The following packages have been released to fix the issue:
The command dotnet lambda deploy-serverless --profile <<sso-profile-name>>
now works successfully. Please update to the latest version of Lambda tools using command dotnet tool update -g Amazon.Lambda.Tools
to verify the fix and confirm if this issue could be closed.
Thanks, Ashish
Hi @ashishdhingra
Everything is working as expected and i was able to deploy successfully this time. Thank you very much for the fix!
Comments on closed issues are hard for our team to see. If you need more assistance, please either tag a team member or open a new issue that references this one. If you wish to keep having a conversation with other community members under this issue feel free to do so.
Description
I'm currently running into this issue https://github.com/aws/aws-sdk-net/issues/1821
A fix (https://github.com/aws/aws-sdk-net/pull/1850) has been released in SDK version 7.36.1
Reproduction Steps
dotnet new serverless.image.AspNetCoreWebAPI
dotnet lambda deploy-serverless
commandLogs
Environment
dotnet
in the terminalResolution
Upgrading the .NET SDK to 7.36.1 or newer should fix this issue (haven't tried/tested it)
This is a :bug: bug-report