silly-smartphone-71988
08/24/2022, 11:54 AMLocalWorkspace.CreateOrSelectStackAsync
which works great. But is there a way to remove a stack (not destroy) using pulumi.automation? Right now I have to do it using the CLI pulumi stack rmLocalWorkspace aPulumiWorkspace = await LocalWorkspace.CreateAsync(new LocalWorkspaceOptions() { WorkDir = path });
var StackArgs = new LocalProgramArgs("StackName", path);
this.Stack = await LocalWorkspace.CreateOrSelectStackAsync(StackArgs);
aPulumiWorkspace .RemoveStackAsync("StackName")
bulky-yacht-13037
08/24/2022, 3:06 PM