https://pulumi.com logo
b

bored-oyster-3147

03/30/2021, 1:52 PM
yea if you're using a
Pulumi.Stack
class in an inline function than you must do
PulumiFn.Create<TStack>()
because if you provide just a delegate than the pulumi engine is wrapping it in a
Pulumi.Stack
resource internally and you can only have 1
Pulumi.Stack
resource declared
👍 1