add terraform config for kubectl config file

This commit is contained in:
Nana Janashia committed 2020-12-20 14:31:29 +01:00
1 parent 6566e1b821
commit 165bd326cb
3 files changed
+35 -8

No files matched your search

+6
View File
@@ -40,4 +40,10 @@ module "eks" {
asg_desired_capacity = 1
}
]
}
resource "local_file" "kube_config_file" {
content = module.eks.kubeconfig
filename = "kubeconfig.yaml"
file_permission = "400"
}