From 0bc99553fd9bc563a95b5a75fe415b4c374d320c Mon Sep 17 00:00:00 2001 From: StephenTan-TW <61775574+StephenTan-TW@users.noreply.github.com> Date: Fri, 8 Oct 2021 16:21:35 +0100 Subject: [PATCH] Fix broken ec2_tag_filter block (#7) * Use the correct the lookup map object * Remove list of lists * Add lookups again Co-authored-by: nitrocode --- main.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.tf b/main.tf index 7a6e0b7..08153f3 100644 --- a/main.tf +++ b/main.tf @@ -172,7 +172,7 @@ resource "aws_codedeploy_deployment_group" "default" { } dynamic "ec2_tag_set" { - for_each = var.ec2_tag_filter == null ? [] : [var.ec2_tag_filter] + for_each = var.ec2_tag_filter == null ? [] : var.ec2_tag_filter content { ec2_tag_filter {