https://pulumi.com logo
#general
Title
# general
f

full-dress-10026

11/27/2019, 2:34 AM
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

swift-painter-31084

11/27/2019, 2:37 AM
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

full-dress-10026

11/27/2019, 2:38 AM
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

white-balloon-205

11/27/2019, 3:17 AM
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

full-dress-10026

11/27/2019, 3:17 AM
Ah yes, that would have gotten me past this.