sparse-intern-71089
06/02/2022, 11:19 PMlittle-cartoon-10569
06/02/2022, 11:21 PMpulumi refresh
isn't fixing this, you'll need to resolve it manually. Export your stack, delete your pending operations, import it again.little-cartoon-10569
06/02/2022, 11:22 PM"deleted": true
, Delete that copy.handsome-rainbow-98791
06/02/2022, 11:26 PMblue ➤ pulumi stack export | grep "deleted" git:peer_to_rds*
blue ➤ pulumi stack export | grep "pending" git:peer_to_rds*
"acceptStatus": "pending-acceptance",
I’ve already tried to delete the individual resources inside of my state, but it doesn’t find some of the resources it says it is trying to delete
Diagnostic:
kubernetes:core/v1:ConfigMap (grampus-cluster-nodeAccess):
warning: configured Kubernetes cluster is unreachable: unable to load schema information from the API server: Get "<https://C1143BA1BB162FB02862B32FB3AF21B0.yl4.us-west-1.eks.amazonaws.com/openapi/v2?timeout=32s>": dial tcp: lookup <http://C1143BA1BB162FB02862B32FB3AF21B0.yl4.us-west-1.eks.amazonaws.com|C1143BA1BB162FB02862B32FB3AF21B0.yl4.us-west-1.eks.amazonaws.com> on 10.40.13.197:53: no such host
error: 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
error: No such resource "urn:pulumi:jcc::salamander::eks:index:Clusterore/v1:ConfigMap::grampus-cluster-nodeAccess" exists in the current state
little-cartoon-10569
06/02/2022, 11:27 PMpulumi state delete
little-cartoon-10569
06/02/2022, 11:27 PMpulumi state delete
is easier 🙂 )handsome-rainbow-98791
06/02/2022, 11:27 PMhandsome-rainbow-98791
06/02/2022, 11:29 PMblue ➤ pulumi state delete -y urn:pulumi:jcc::salamander::eks:index:Cluster$kubernetes:core/v1:ConfigMap::grampus-cluster-nodeAccess git:peer_to_rds*
error: No such resource "urn:pulumi:jcc::salamander::eks:index:Clusterore/v1:ConfigMap::grampus-cluster-nodeAccess" exists in the current state
little-cartoon-10569
06/02/2022, 11:30 PMlittle-cartoon-10569
06/02/2022, 11:31 PMhandsome-rainbow-98791
06/02/2022, 11:34 PMlittle-cartoon-10569
06/02/2022, 11:35 PMhandsome-rainbow-98791
06/02/2022, 11:37 PMlittle-cartoon-10569
06/02/2022, 11:37 PMpulumi destroy
will do the rest.little-cartoon-10569
06/02/2022, 11:38 PMhandsome-rainbow-98791
06/02/2022, 11:38 PMhandsome-rainbow-98791
06/02/2022, 11:40 PMhandsome-rainbow-98791
06/02/2022, 11:46 PMlittle-cartoon-10569
06/02/2022, 11:58 PMpulumi preview
to identify a problem (which was always, Pulumi thought resource X existed but really it didn't).
2. If there wasn't a problem, run pulumi destroy
and end.
3. Else delete the problem resource(s) from state (pulumi state delete...
).
4. Go to 1.handsome-rainbow-98791
06/03/2022, 5:09 PMhandsome-rainbow-98791
06/03/2022, 5:09 PMlittle-cartoon-10569
06/05/2022, 11:49 PM