narrow-monitor-83965
10/27/2023, 10:26 AMbig-architect-71258
10/27/2023, 11:10 AMnarrow-monitor-83965
10/27/2023, 11:28 AMbored-activity-40468
10/27/2023, 2:22 PMnarrow-monitor-83965
10/27/2023, 2:47 PMbig-architect-71258
10/27/2023, 3:04 PMnarrow-monitor-83965
10/27/2023, 3:07 PMbig-architect-71258
10/27/2023, 3:12 PMnarrow-monitor-83965
10/27/2023, 3:17 PMbig-architect-71258
10/27/2023, 3:24 PMpulumi destroy
when the stack is selected and remove the stack using the Workspace instance.
I think this is easier to manage. The list of VM is then equal to the list of Pulumi stacks.shared
and reference the resources in it from the VM stacks using Pulumi stack references https://www.pulumi.com/learn/building-with-pulumi/stack-references/