Skip to content

Commit

Permalink
Testing cluster creation
Browse files Browse the repository at this point in the history
  • Loading branch information
mitali-salvi committed Aug 31, 2023
1 parent 9bc240c commit 97a3510
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion testing/terraform/eks/deployment/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ data "template_file" "kubeconfig_file" {
CLUSTER_NAME : aws_eks_cluster.this.name
CA_DATA : aws_eks_cluster.this.certificate_authority[0].data
SERVER_ENDPOINT : aws_eks_cluster.this.endpoint
TOKEN = aws_eks_cluster_auth.this.token
TOKEN = data.aws_eks_cluster_auth.this.token
}
}

Expand Down
5 changes: 5 additions & 0 deletions testing/terraform/eks/deployment/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,9 @@ variable "region" {
variable "k8s_version" {
type = string
default = "1.24"
}

variable "kube_directory_path" {
type = string
default = "./.kube"
}

0 comments on commit 97a3510

Please sign in to comment.