deploy-function
doesn't recognize dotnet6 as runtime when passed as parameter
#246
-
Describe the bugIf I execute the following command $ dotnet lambda deploy-function --runtime dotnet6 I'm prompted again for the runtime. Expected BehaviorArguments passed via command line should be accepted and I should not get prompted to insert the value again Current BehaviorI'm asked again for the runtime. Reproduction Steps
dotnet lambda deploy-function --profile IA --function-name FindNationality --framework net6.0 --runtime dotnet6
Amazon Lambda Tools for .NET Core applications (5.5.0)
Project Home: https://github.com/aws/aws-extensions-for-dotnet-cli, https://github.com/aws/aws-lambda-dotnet
Enter Runtime: (The runtime environment for the Lambda function)
dotnet6 Possible SolutionNo response Additional Information/ContextNo response Targeted .NET platform.NET SDK 6.0.400 CLI extension version
Environment details (OS name and version, etc.)Windows 11 Pro |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hi @Kralizek, Good morning. The parameter name to specify runtime is Thanks, |
Beta Was this translation helpful? Give feedback.
-
Hello! Reopening this discussion to make it searchable. |
Beta Was this translation helpful? Give feedback.
Hi @Kralizek,
Good morning.
The parameter name to specify runtime is
--function-runtime
. You could get the list of supported options by executingdotnet lambda deploy-function --help
which would display command line help.Thanks,
Ashish