mirror of
https://github.com/ysoftdevs/terraform-aws-eks.git
synced 2026-03-20 16:43:46 +01:00
improvement: Remove dependency on external template provider (#854)
* Remove template_file for generating kubeconfig Push logic from terraform down to the template. Makes the formatting slightly easier to follow * Remove template_file for generating userdata Updates to the eks_cluster now do not trigger recreation of launch configurations * Remove template_file for LT userdata * Remove template dependency
This commit is contained in:
@@ -170,7 +170,7 @@ resource "aws_launch_configuration" "workers" {
|
||||
"key_name",
|
||||
local.workers_group_defaults["key_name"],
|
||||
)
|
||||
user_data_base64 = base64encode(data.template_file.userdata.*.rendered[count.index])
|
||||
user_data_base64 = base64encode(local.userdata[count.index])
|
||||
ebs_optimized = lookup(
|
||||
var.worker_groups[count.index],
|
||||
"ebs_optimized",
|
||||
|
||||
Reference in New Issue
Block a user