if you have multiple versions of a plugin installe...
# general
a
if you have multiple versions of a plugin installed, is it possible to explicitly use a certain version when doing actions like
pulumi destroy
?
issue im trying to solve is this:
Copy code
exec plugin is configured to use API version <http://client.authentication.k8s.io/v1beta1|client.authentication.k8s.io/v1beta1>, plugin returned version <http://client.authentication.k8s.io/v1alpha1|client.authentication.k8s.io/v1alpha1>
think it might have to do with plugin versions ?
m
You could have multiple PULUMI_HOME directories and set PULUMI_HOME before running pulumi destroy...
a
i tried deleting eks plugin 0.40.0 so only 0.37.1 was available, but when running
pulumi destroy
it automatically downloaded 0.40.0 again and used that it seemed
so something in the stack/code seems to decide what versions of plugins will be used
changed to pulumi-eks 0.37.1 in
go.mod
also, but that didnt seem to help, but what did help was exporting stack and changing from
v1beta1
to
v1alpha1
in the relevant place
a
i am dealing with this myself. I notice that the plugin is specified as a
pulumi:providers:<resource>
with a specific version
a
@average-tiger-58107 were you able to change that version manually
a
change your version in your package.json (or equivalent in another lang)