Skip to content

Commit

Permalink
use module input
Browse files Browse the repository at this point in the history
  • Loading branch information
morga471 committed Jul 19, 2024
1 parent 07acdfa commit c3985ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ resource "null_resource" "kube_config_create" {
depends_on = [module.cluster.cluster_name]
provisioner "local-exec" {
interpreter = ["/bin/bash", "-c"]
command = "aws eks --region ${data.aws_region.current.name} update-kubeconfig --name ${module.cluster.cluster_name} --profile=${local.profile} && export KUBE_CONFIG_PATH=~/.kube/config && export KUBERNETES_MASTER=~/.kube/config"
command = "aws eks --region ${data.aws_region.current.name} update-kubeconfig --name ${module.cluster.cluster_name} --profile=${module.cluster.profile} && export KUBE_CONFIG_PATH=~/.kube/config && export KUBERNETES_MASTER=~/.kube/config"
}
}

Expand Down

0 comments on commit c3985ea

Please sign in to comment.