cuddly-smartphone-89735
01/20/2020, 2:03 PMkubeconfig
parameter with the output of a Azure KubernetesCluster
resource. But for some reason, when I run pulumi up
before even provisioning anything, it fails because the k8s
resource already tries to connect to the cluster (which doesn't exist at this point in time). I thought that a missing dependency was the issue, but even when I specify the dependency explicitly, it will fail with the connection error. Any ideas? Basically I just want to provision a cluster (with azure provider) and then configure that same cluster (with k8s provider).better-rainbow-14549
01/20/2020, 2:07 PMcuddly-smartphone-89735
01/20/2020, 2:07 PMlimited-rainbow-51650
01/20/2020, 2:08 PM// Expose a k8s provider instance of the cluster.
this.provider = new k8s.Provider(`${name}-aks`, {
kubeconfig: this.cluster.kubeConfigRaw,
}, { parent: this });
better-rainbow-14549
01/20/2020, 2:08 PMcuddly-smartphone-89735
01/20/2020, 2:10 PMprovider: cluster
did the trick! Awesome! Thatโs what I was looking for.better-rainbow-14549
01/20/2020, 2:10 PMcuddly-smartphone-89735
01/20/2020, 2:10 PMbetter-rainbow-14549
01/20/2020, 2:10 PMcuddly-smartphone-89735
01/20/2020, 2:11 PMwhite-balloon-205