Skip to content

Instantly share code, notes, and snippets.

@samof76
Created August 7, 2020 03:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save samof76/7d0fb42d71cf445c6227e6dc8c862541 to your computer and use it in GitHub Desktop.
Save samof76/7d0fb42d71cf445c6227e6dc8c862541 to your computer and use it in GitHub Desktop.
01_cluster_autoscaler.tf
data "template_file" "cluster_autoscaler" {
template = "${file("cluster_autoscaler.yml.tpl")}"
vars = {
worker_node_min_size = "${var.nodes_min_size}"
worker_node_max_size = "${var.nodes_max_size}"
worker_node_asg_name = "${aws_autoscaling_group.fd_eks_nodes_asg.name}"
aws_region = "${var.region}"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment