Skip to content

Commit

Permalink
Update for Terraform AWS provider v3 (#52)
Browse files Browse the repository at this point in the history
  • Loading branch information
JonRoma authored Jun 1, 2021
1 parent 67ff985 commit 2d781d6
Showing 1 changed file with 12 additions and 8 deletions.
20 changes: 12 additions & 8 deletions listener_rule.tf
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,15 @@ resource "aws_alb_listener_rule" "default" {
}

condition {
field = "path-pattern"
values = [local.path_pattern]
path_pattern {
values = [local.path_pattern]
}
}

condition {
field = "host-header"
values = [local.host_header]
host_header {
values = [local.host_header]
}
}
}

Expand All @@ -31,12 +33,14 @@ resource "aws_alb_listener_rule" "set_priority" {
}

condition {
field = "path-pattern"
values = [local.path_pattern]
path_pattern {
values = [local.path_pattern]
}
}

condition {
field = "host-header"
values = [local.host_header]
host_header {
values = [local.host_header]
}
}
}

0 comments on commit 2d781d6

Please sign in to comment.