its almost like its trying to connect to minikube ...
# general
e
its almost like its trying to connect to minikube for some reason
w
Yes - that looks like something is trying to connect to minikube.
Do you have kubernetes resources in your project?
How are you configuring your kubernetes provider?
If you do not provide any other configuration, the provider picks up your ambient context, which perhaps is minikube?
e
what I think I need to do is completely reinitalize the stack
is there a way to do that?
it looks like its confused, doesn't know I switched GCP projects so its expecting the stack in Pulumu to line up
w
You can just create a new stack
pulumi stack init
and deploy into that stack with the new config you set there.
e
yeah
but then I would lose all my history
which I guess is fine...
w
What exactly is it you want to do? What do you have in mind with “reinitalize the stack”?
Do you want to create new resources from scratch and delete the old ones?
e
well I deleted the old ones manually
w
You mean outside of Pulumi?
e
so thats why I am in this pickly
yes
w
I see.
e
I'll probably create a new stack
delete my current one
I have to take kids out but thanks for quick response
👍 1
w
You can
Pulumi state delete
each of the old resources that no longer exist or export the state file and remove them then re-import.
That would allow you to keep moving forward with the same stack history.
e
thats a very good idea actually