I deleted my k8s cluster from the AWS console. Now...
# general
f
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
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
Great, thanks.