Skip to content

Commit

Permalink
Correct reference to userdata_template_extra_args
Browse files Browse the repository at this point in the history
Prior to this change, both node_groups user_data_template_file and
user_data_template_extra_args referred to userdata_template_file from
the parent module, which was wrong.

This change corrects the reference from
node_groups.user_data_template_extra_args to
userdata_template_extra_args.
  • Loading branch information
scalen committed Dec 2, 2021
1 parent 3393998 commit b87b9cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/node_groups/locals.tf
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ locals {
metadata_http_put_response_hop_limit = var.workers_group_defaults["metadata_http_put_response_hop_limit"]
ami_is_eks_optimized = true
user_data_mime_type = "text/x-shellscript"
user_data_template_extra_args = lookup(var.workers_group_defaults, "userdata_template_file", {})
user_data_template_extra_args = lookup(var.workers_group_defaults, "userdata_template_extra_args", {})
user_data_template_file = lookup(var.workers_group_defaults, "userdata_template_file", "${path.module}/templates/userdata.sh.tpl")
},
var.node_groups_defaults,
Expand Down

0 comments on commit b87b9cb

Please sign in to comment.