Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
IaroslavTitov opened this issue Apr 2, 2024 · 1 comment
Open
Labels
kind/enhancement Improvements or new features

Comments

@IaroslavTitov
Copy link

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.

@IaroslavTitov IaroslavTitov added kind/enhancement Improvements or new features needs-triage Needs attention from the triage team labels Apr 2, 2024
@cnunciato
Copy link
Member

Great suggestion @IaroslavTitov! We'll see what we can do to strike a better balance here.

@cnunciato cnunciato removed the needs-triage Needs attention from the triage team label Apr 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement Improvements or new features
Projects
None yet
Development

No branches or pull requests

2 participants