This message was deleted.
s
This message was deleted.
b
this is usually because something like an EC2 instance or an ELB with an EIP exists in the VPC
👍 1
check for any stray ELBs is my suggestion
l
Sometimes if you delete it via the console, the UI gives more detail on what needs to be deleted. Might not be the case for VPCs, but I've found it helpful for security groups, in the past.
a
ok I'll try it... but, if I want to delete the state of this resource (I'll delete vpc from aws console),but I receive
Copy code
pulumi state delete urn:pulumi:develop::mycomponent::awsx:x:ec2:Vpc$aws:ec2/vpc:Vpc::cloud-pulumi --force
 warning: This command will edit your stack's state directly. Confirm? Yes
error: No such resource "urn:pulumi:develop::mycomponent::awsx:x:ec2:Vpcc2/vpc:Vpc::cloud-pulumi" exists in the current state
😕
b
you don't need to delete the vpc from your state, what we're saying is that someone has provisioned something in that VPC
a
ok i will do what you suggest