diff --git a/modules/multi-runner/runners.tf b/modules/multi-runner/runners.tf index 7a38c10c28..aea680bddd 100644 --- a/modules/multi-runner/runners.tf +++ b/modules/multi-runner/runners.tf @@ -49,7 +49,7 @@ module "runners" { idle_config = each.value.runner_config.idle_config enable_ssm_on_runners = each.value.runner_config.enable_ssm_on_runners egress_rules = var.runner_egress_rules - runner_additional_security_group_ids = coalesce(each.value.runner_config.runner_additional_security_group_ids, var.runner_additional_security_group_ids) + runner_additional_security_group_ids = try(coalescelist(each.value.runner_config.runner_additional_security_group_ids, var.runner_additional_security_group_ids), []) metadata_options = each.value.runner_config.runner_metadata_options credit_specification = each.value.runner_config.credit_specification