https://pulumi.com logo
#general
Title
# general
a

able-pharmacist-98732

09/15/2022, 10:14 AM
Hi, Is there a way to initialize new stack from Typescript code, as an alternative to
Copy code
pulumi stack init dev
I see we have only getStack, but not setStack
Copy code
import * as pulumi from "@pulumi/pulumi";
const env = pulumi.getStack();
n

numerous-state-84361

09/15/2022, 12:04 PM
3 Views