feat: Allow interface_type to be specified in worker_groups_launch_template (#1439)

This commit is contained in:
Paul B Schroeder
2021-10-07 07:21:13 -05:00
committed by GitHub
parent 7f13ffd121
commit f37e5af88a
2 changed files with 6 additions and 0 deletions

View File

@@ -314,6 +314,11 @@ resource "aws_launch_template" "workers_launch_template" {
"eni_delete",
local.workers_group_defaults["eni_delete"],
)
interface_type = lookup(
var.worker_groups_launch_template[count.index],
"interface_type",
local.workers_group_defaults["interface_type"],
)
security_groups = flatten([
local.worker_security_group_id,
var.worker_additional_security_group_ids,