mirror of
https://github.com/ysoftdevs/terraform-aws-eks.git
synced 2026-01-19 18:17:48 +01:00
* 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
HCL
6 lines
214 B
HCL
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}"
|
|
}
|