provision-eks-with-terraform / kubernetes.tf
kubernetes.tf
Raw
provider "kubernetes" {
    #load_config_file = "false"
    host = data.aws_eks_cluster.my_cluster.endpoint
    token = data.aws_eks_cluster_auth.my_cluster_auth.token
    cluster_ca_certificate = base64decode(data.aws_eks_cluster.my_cluster.certificate_authority.0.data)
}