If I have deleted an EKS cluster from the console,...
# general
f
If I have deleted an EKS cluster from the console, how do I get Pulumi to understand it has been deleted and to figure out what to do with all the deployments. Currently every deployment I have now fails to delete with this message:
Copy code
error: unable to load schema information from the API server: Get <https://F7E1844F423B2899F4D9B934F2EFE568.yl4.us-west-2.eks.amazonaws.com/openapi/v2?timeout=32s>: dial tcp: lookup <http://F7E1844F423B2899F4D9B934F2EFE568.yl4.us-west-2.eks.amazonaws.com|F7E1844F423B2899F4D9B934F2EFE568.yl4.us-west-2.eks.amazonaws.com>: no such host
s
first, try
pulumi refresh
and see if it picks up the change. If that doesn't work you can export your state to a file, modify it, then import it.
f
Does not work. There's dozens of deployments that need to be fixed. That json file is over 10,000 lines long. That can't be the solution here.
w
See https://github.com/pulumi/pulumi/issues/3304 for a feature proposal related to providing an easier way to do this (and feel free to upvote!).
f
Ah yes, that would have gotten me past this.