pulumi-ai icon indicating copy to clipboard operation
pulumi-ai copied to clipboard

Asking for C# code generates C# but TS project

Open arturl opened this issue 8 months ago • 2 comments

What happened?

  1. Navigate to https://www.pulumi.com/ai
  2. Without changing the language at the bottom dialog (i.e. leaving TypeScript) type "C# code for Azure web application"

The tool generates a C# program while still saying "TypeScript":

image

  1. Now click the "Deploy with Pulumi" button: image

  2. Go through the project creation steps. The project is generated as TypeScript with C# code:

image

Example

See above

Output of pulumi about

not relevant

Additional context

While this is a user error (I should have switched the language), the experience is a trap. I explicitly asked for what I want (a C# app) and expect to get it.

Contributing

Vote on this issue by adding a 👍 reaction. To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).

arturl avatar Jun 11 '24 22:06 arturl