diff options
Diffstat (limited to 'org-buetow-eks')
| -rw-r--r-- | org-buetow-eks/main.tf | 1 | ||||
| -rw-r--r-- | org-buetow-eks/outputs.tf | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/org-buetow-eks/main.tf b/org-buetow-eks/main.tf index c854b5c..b5de08e 100644 --- a/org-buetow-eks/main.tf +++ b/org-buetow-eks/main.tf @@ -16,4 +16,3 @@ provider "kubernetes" { cluster_ca_certificate = base64decode(data.aws_eks_cluster.cluster.certificate_authority.0.data) token = data.aws_eks_cluster_auth.cluster.token } - diff --git a/org-buetow-eks/outputs.tf b/org-buetow-eks/outputs.tf index 3809c82..e00c934 100644 --- a/org-buetow-eks/outputs.tf +++ b/org-buetow-eks/outputs.tf @@ -10,3 +10,6 @@ output "cluster_certificate_authority_data" { value = aws_eks_cluster.org_buetow_eks.certificate_authority.0.data } +output "update_kubeconfig_command" { + value = "aws eks update-kubeconfig --name ${aws_eks_cluster.org_buetow_eks.name} --region eu-central-1" +} |
