I'm using `pulumi-eks` with python, after I create...
# aws
m
I'm using
pulumi-eks
with python, after I created the Cluster, how do I get a
k8s.Provider
from the kubeconfig?
b
m
yeah that's what I was looking at, but the
apply
was tripping me up, but maybe in python, you don't need to apply the output?
Copy code
k8s_provider = Provider("k8s_provider", kubeconfig=eks.kubeconfig)
seems to work.
b
I'm not as familiar wit the Python side so it's possible it'll work. I believe in Go you also need to do the Apply so that you can stringify the object
q
m
that code seems to be working, it's not complaining. I don't fully understand it, I know output is a future value so apply makes sense. but whatever, seems to be ok.