lively-mouse-58570
09/06/2022, 7:41 AMvar aksProvider = new K8s.Provider("k8s-provider-dev", new ProviderArgs
{
KubeConfig = kubeConfig,
Cluster = kubernetesCluster.Name,
});
which I use for creation of kubernetes dashboard:
var kubeDashboard = new ConfigFile("my-kubernetes-dashboard", new ConfigFileArgs
{
File = "<https://raw.githubusercontent.com/kubernetes/dashboard/v2.5.0/aio/deploy/recommended.yaml>"
},
new ComponentResourceOptions
{
Provider = aksProvider,
DependsOn = aksProvider!
});
It works fine when deployment of cluster happens for the first time but if I'm trying to change Virtual Machine size (which requires recreation of cluster) and deploy this update I get an error:
error: resource complete event returned an error: failed to verify snapshot: resource urn:pulumi:dev::MyProject::kubernetes:yaml:ConfigFile$kubernetes:core/v1:Namespace::kubernetes-dashboard refers to unknown provider urn:pulumi:dev::MyProject::pulumi:providers:kubernetes::k8s-provider-dev::650f67b5-a3be-423f-81be-5e8453bf9c4f
error: update failed
Is there any workaround how to fix this issue or maybe I'm doing something wrong? Thank you!No matter how you like to participate in developer communities, Pulumi wants to meet you there. If you want to meet other Pulumi users to share use-cases and best practices, contribute code or documentation, see us at an event, or just tell a story about something cool you did with Pulumi, you are part of our community.
Powered by