Skip to content

C# Serverless Template should have C# lambda handler, not Python #773

@IaroslavTitov

Description

@IaroslavTitov

Hello!

  • Vote on this issue by adding a 👍 reaction
  • If you want to implement this feature, comment to let us know (we'll work with you on design, scheduling, etc.)

Issue details

I was surprised when I created a project using serverless-aws-csharp template - pulumi program was in C# alright, but lambda handler was in python. I picked C# template exactly to NOT use Python :D
It would be great if the lambda handler was also in C#. I understand that would make the project more complicated, since for C# user needs to run dotnet publish to compile lambda code before running pulumi up and uploading the lambda, AND the right path to binaries needs to be used, but I think it's worth it to have parity between languages. I changed Python handler to dotnet handler in 15-20 minutes, but only because I was fairly familiar with C# lambda handlers, for someone doing it for the first time, it would have taken longer, slowing down users.

Affected area/feature

serverless-aws-csharp and any other templates containing lambda handlers in different language than the main template language.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions