fix: Prevent coalescelist null argument error when destroying worker_group_launch_templates (#842)

Resolves #841
This commit is contained in:
sr-n
2020-04-22 10:36:03 -07:00
committed by GitHub
parent 2fd078e7c1
commit e41c4aa78a

View File

@@ -8,6 +8,7 @@ locals {
coalescelist(
aws_iam_instance_profile.workers_launch_template.*.role,
data.aws_iam_instance_profile.custom_worker_group_launch_template_iam_instance_profile.*.role_name,
[""]
),
index
)}"