This message was deleted.
# kubernetes
s
This message was deleted.
s
Hey Peter. Have you tried doing a
pulumi up --refresh
first ?
d
i’ve ran
pulumi refresh
but i get errors saying
Preview failed: failed to read resource state due to unreachable cluster. If the cluster has been deleted, you can edit the pulumi state to remove this resource
saying the cluster is unreachable. i dont know how this happened but pulumi up ran with no errors. but no cluster was actually created.
b
@dry-teacher-74595 you need to escape the URN because it has a
$
sign in it;
Copy code
pulumi state delete --force  'urn:pulumi:main::infra::eks:index:Cluster$kubernetes:<http://storage.k8s.io/v1:StorageClass::cluster-gp2|storage.k8s.io/v1:StorageClass::cluster-gp2>'
d
ah gotcha thanks
b
as for deleting the cluster, the EKS cluster is a component consisting of many resources, so it's going to be a little tedious I'm afraid, but
pulumi stack --show-urn
will help
d
yep, escaping the $ sign did the trick, thanks.
🎉 1