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

full-dress-10026

12/16/2019, 11:01 PM
I deleted my k8s cluster from the AWS console. Now my Pulumi stack fails with "unable to load schema information from the API server". Is there a way to simply tell Pulumi that the EKS cluster is gone so all of the k8s resources are also gone?
g

gorgeous-egg-16927

12/16/2019, 11:22 PM
This is related to to https://github.com/pulumi/pulumi-kubernetes/issues/881. I don’t see an open issue for this, but I think we should provide an option to mark these resources as deleted in this case. I’ll open an issue to track. For now, you can fix this with the following steps: 1. run
pulumi stack export > out
2. delete all the relevant resource objects under the
.deployment.resources
field 3. run
pulumi stack import --file out
to update your state 4. the next
pulumi up
should succeed
f

full-dress-10026

12/16/2019, 11:31 PM
Great, thanks.