https://pulumi.com logo
Title
m

most-mouse-38002

01/11/2023, 2:35 PM
Running
pulumi down
on a stack with a VPC and a ipam pool sets the cidr in a failed-provision state and locks the entire thing. I cannot remove it because Pulumi deleted the VPC but the CIDR refuses to deprovision because of this.
g

gifted-fall-44000

01/11/2023, 5:55 PM
For cases like this you should leverage the dependsOn resourceOption to control deletion more closely.
m

most-mouse-38002

01/12/2023, 7:16 AM
Oh, good point. I just assumed it knew the order of everything as that was my experience from pulumi+azure. Thanks 👍
I guess the problem is that the IPAMpool depends on the VPC to be deleted first, but the VPC has a dependency on IPAMpool when being creatged