Skip to content

Commit

Permalink
Fix broken ec2_tag_filter block (#7)
Browse files Browse the repository at this point in the history
* Use the correct the lookup map object

* Remove list of lists

* Add lookups again

Co-authored-by: nitrocode <nitrocode@users.noreply.github.com>
  • Loading branch information
StephenTan-TW and nitrocode authored Oct 8, 2021
1 parent 607212b commit 0bc9955
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 0bc9955

Please sign in to comment.