https://pulumi.com logo
Title
b

brash-painting-89833

04/28/2023, 8:41 PM
Hello Anyone knows how to get the certificate when using https://www.pulumi.com/registry/packages/eks/ to create a cluster? After that I will also need to use that certificate to do a string replace and generate a file.. any suggestions?
s

salmon-account-74572

04/28/2023, 9:22 PM
To which certificate are you referring?
b

brash-painting-89833

04/28/2023, 9:24 PM
eksEksCluster.CertificateAuthority.Data().Elem()
I want to create some what a kubeconfig file
eksCluster.EksCluster.CertificateAuthority().Data().Elem()
may have worked, at least lsp is not complaining anymore
s

salmon-account-74572

04/28/2023, 10:23 PM
The EKS package exposes a
kubeconfig
property that you can use to retrieve the Kubeconfig for the cluster, will that not work for you?
b

brash-painting-89833

04/28/2023, 10:34 PM
i only wanted a few parts of it to create a toml file now the problem is i need to get this pulumi.StringOutput to base64 somehow this will be an issue for anotehr day!