You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you want to implement this feature, comment to let us know (we'll work with you on design, scheduling, etc.)
Issue details
PulumiFn.Create() only works with empty Constructors. However, I wish to implement a web service that creates a stack per user. Thus the web app needs to pass parameters to the Stack via the constructor.
public class MyCustomStack: Stack
{
public MyCustomStack(string parameter1, string parameter2)
{
....
}
}
var program = PulumiFn<MyCustomStack>("param1", "param2");
I cannot do the following as PulumiFn is marked as an internal class.
new PulumiFn<MyCustomStack>(() =>
new MyCustomStack("param1", "param2"));
Affected area/feature
Automation API, but could also be implemented for the CLI.
The text was updated successfully, but these errors were encountered:
Hello!
Issue details
PulumiFn.Create() only works with empty Constructors. However, I wish to implement a web service that creates a stack per user. Thus the web app needs to pass parameters to the Stack via the constructor.
I cannot do the following as PulumiFn is marked as an internal class.
Affected area/feature
Automation API, but could also be implemented for the CLI.
The text was updated successfully, but these errors were encountered: