mirror of
https://github.com/ysoftdevs/terraform-aws-eks.git
synced 2026-05-02 05:14:32 +02:00
Removing region from kubectl config and adding override variable
This commit is contained in:
1
data.tf
1
data.tf
@@ -49,6 +49,7 @@ data "template_file" "kubeconfig" {
|
||||
|
||||
vars {
|
||||
cluster_name = "${var.cluster_name}"
|
||||
kubeconfig_name = "${local.kubeconfig_name}"
|
||||
endpoint = "${aws_eks_cluster.this.endpoint}"
|
||||
region = "${data.aws_region.current.name}"
|
||||
cluster_auth_base64 = "${aws_eks_cluster.this.certificate_authority.0.data}"
|
||||
|
||||
Reference in New Issue
Block a user