diff --git a/lib/plugins/create/templates/aws-csharp/build.cmd b/lib/plugins/create/templates/aws-csharp/build.cmd index e59f004ed..cf1bf29bc 100644 --- a/lib/plugins/create/templates/aws-csharp/build.cmd +++ b/lib/plugins/create/templates/aws-csharp/build.cmd @@ -1,2 +1,2 @@ dotnet restore -dotnet lambda package --configuration release --framework netcoreapp2.1 --output-package bin/release/netcoreapp2.1/deploy-package.zip +dotnet lambda package --configuration release --framework netcoreapp2.1 --output-package bin/release/netcoreapp2.1/hello.zip diff --git a/lib/plugins/create/templates/aws-csharp/build.sh b/lib/plugins/create/templates/aws-csharp/build.sh index ceb9a8e0e..5769c5e0b 100755 --- a/lib/plugins/create/templates/aws-csharp/build.sh +++ b/lib/plugins/create/templates/aws-csharp/build.sh @@ -8,4 +8,4 @@ then fi dotnet restore -dotnet lambda package --configuration release --framework netcoreapp2.1 --output-package bin/release/netcoreapp2.1/deploy-package.zip +dotnet lambda package --configuration release --framework netcoreapp2.1 --output-package bin/release/netcoreapp2.1/hello.zip diff --git a/lib/plugins/create/templates/aws-csharp/serverless.yml b/lib/plugins/create/templates/aws-csharp/serverless.yml index bc7c83545..d6aca7ad9 100644 --- a/lib/plugins/create/templates/aws-csharp/serverless.yml +++ b/lib/plugins/create/templates/aws-csharp/serverless.yml @@ -45,17 +45,17 @@ provider: # environment: # variable1: value1 -# you can add packaging information here -package: - artifact: bin/release/netcoreapp2.1/deploy-package.zip -# exclude: -# - exclude-me.js -# - exclude-me-dir/** - functions: hello: handler: CsharpHandlers::AwsDotnetCsharp.Handler::Hello + # you can add packaging information here + package: + artifact: bin/release/netcoreapp2.1/hello.zip + # exclude: + # - exclude-me.js + # - exclude-me-dir/** + # The following are a few example events you can configure # NOTE: Please make sure to change your handler code to work with those events # Check the event documentation for details