Hi everyone,
I’m trying to use the Terraform Kubernetes provider to deploy resources to a private Kubernetes cluster that is accessible only via a bastion endpoint. When applying my Terraform configuration, I get the following error:
Error: Failed to create Job! API error: Post "https://bastion-watsonxdata.platform.dev.saas.ibm.com:443/apis/batch/v1/namespaces/compose-system/jobs": tls: failed to verify certificate: x509: certificate signed by unknown authority
i tried revalidating the certificates but it still having problem with creating the manifests.
Terraform runs are executed via Atlantis, triggered through GitHub PRs — so this is a CI/CD-driven setup.
Are there recommended best practices for connecting Terraform to private clusters in secure environments like this?