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

No way to register stack level transformations using a top-level async program #202

Open
phillipedwards opened this issue Nov 1, 2023 · 0 comments
Labels
kind/enhancement Improvements or new features

Comments

@phillipedwards
Copy link
Member

What happened?

see title

Example

https://www.pulumi.com/docs/concepts/options/transformations/#stack-transformations

no way to do the above with a top-level async program such as

using System.Collections.Generic;
using Pulumi;

return await Deployment.RunAsync(() =>
{
   // no way to register stack transformations with this type
   
   // Export outputs here
   return new Dictionary<string, object?>
   {
      ["outputKey"] = "outputValue"
   };
});

Output of pulumi about

n/a

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

@phillipedwards phillipedwards added kind/bug Some behavior is incorrect or out of spec needs-triage Needs attention from the triage team labels Nov 1, 2023
@justinvp justinvp added kind/enhancement Improvements or new features and removed kind/bug Some behavior is incorrect or out of spec needs-triage Needs attention from the triage team labels Nov 2, 2023
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