mirror of
https://github.com/terraform-aws-modules/terraform-aws-eks.git
synced 2025-09-09 19:32:58 +08:00
ae2f8e58db
* 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
6 lines
214 B
Terraform
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}"
|
|
}
|