Skip to content

Commit

Permalink
Formats code
Browse files Browse the repository at this point in the history
  • Loading branch information
danvaida committed Oct 18, 2021
1 parent 56332ce commit 1b3cdd5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ resource "aws_lb_listener_rule" "this" {
}
}

dynamic condition {
dynamic "condition" {
for_each = lookup(each.value, "path_match", "*") != "*" ? [1] : []
content {
path_pattern {
Expand All @@ -207,7 +207,7 @@ resource "aws_lb_listener_rule" "this" {
}
}

dynamic condition {
dynamic "condition" {
for_each = lookup(each.value, "host_match", "*") != "*" ? [1] : []
content {
host_header {
Expand Down

0 comments on commit 1b3cdd5

Please sign in to comment.