0
votes

I have aws serverless application with two different template file. Now I need to know the command to deploy from Visual Studio for MAC using aws-lambda-tools-defaults.json file.

Tried using dotnet lambda deploy-serverless -ts aws-lambda-tools-defaults.json

But it shows error like this- enter image description here

This is my aws-lambda-tools-defaults.json file enter image description here

NOTE - This file and config work very well in Visual Studio on Windows with AWS SDK

1

1 Answers

0
votes

This terminal command works-

 dotnet lambda deploy-serverless aws-lambda-tools-defaults.json --profile {Credential Profile Name} -sn {Lambda Stack Name}