1
0
mirror of https://github.com/terraform-aws-modules/terraform-aws-eks.git synced 2025-09-09 19:32:58 +08:00
Files
terraform-aws-eks/kubectl.tf
T
Max Williams ae2f8e58db Adding new mixed type of worker group with instance overrides and mixed instances policy (#371)
* Adding new mixed type of worker group with instance overrides and mixed instances policy

* moving all count and lifecycle rule parameters to top/bottom

* adding custom IAM parts

* updating doc with new options

* fixes for spot instances
2019-05-07 16:50:42 +02:00

6 lines
214 B
Terraform

resource "local_file" "kubeconfig" {
count = "${var.write_kubeconfig ? 1 : 0}"
content = "${data.template_file.kubeconfig.rendered}"
filename = "${var.config_output_path}kubeconfig_${var.cluster_name}"
}