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

Import statements in example code within generated Pulumi functions don't use custom package name #15979

Open
ringods opened this issue Apr 18, 2024 · 0 comments
Labels
area/codegen SDK-gen, program-gen, convert kind/bug Some behavior is incorrect or out of spec

Comments

@ringods
Copy link
Member

ringods commented Apr 18, 2024

What happened?

Building some bridged TF providers, which have custom package names defined for:

  • NodeJS
  • Python
  • dotnet

When generating the language specific SDKs, the example code generated for Pulumi functions don't use the configured custom package names.

Example

For example, the Pulumiverse Scaleway provider has custom package names:

Here you see the package names listed for the example code within generated Pulumi SDK functions:

Output of pulumi about

CLI version not applicable.

go.mod dependencies recently current:

https://github.com/pulumiverse/pulumi-scaleway/blob/670942d29ef71755e2479ca0530e2a94ef57c33c/provider/go.mod#L7

Additional context

No response

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).

@ringods ringods added kind/bug Some behavior is incorrect or out of spec needs-triage Needs attention from the triage team labels Apr 18, 2024
@justinvp justinvp added area/codegen SDK-gen, program-gen, convert and removed needs-triage Needs attention from the triage team labels Apr 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/codegen SDK-gen, program-gen, convert kind/bug Some behavior is incorrect or out of spec
Projects
None yet
Development

No branches or pull requests

2 participants