DEV Community

Discussion on: Fully automated creation of an AAD-integrated Kubernetes cluster with Terraform

Collapse
 
dd2repo profile image
dd2repo

With kube_admin_config i always get: Failed to configure: tls: failed to find any PEM data in certificate input. kube_config is working fine. Any ideas?

Collapse
 
cigrainger profile image
Christopher Grainger

It's most likely base64 encoded. Try wrapping in base64decode().