Skip to content

Commit

Permalink
Updating tags
Browse files Browse the repository at this point in the history
  • Loading branch information
mvsnogueira-dnx committed Aug 18, 2020
1 parent 9436204 commit 77e8cfb
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion alb-target-group.tf
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ resource "aws_lb_listener_rule" "redirects" {

condition {
host_header {
values = list(element(split(",", var.hostname_redirects), count.index))
values = tolist([element(split(",", var.hostname_redirects), count.index)])
}
}

Expand Down
4 changes: 2 additions & 2 deletions codedeploy.tf
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,11 @@ resource "aws_codedeploy_deployment_group" "ecs" {
load_balancer_info {
target_group_pair_info {
prod_traffic_route {
listener_arns = list(var.alb_listener_https_arn)
listener_arns = tolist([var.alb_listener_https_arn])
}

test_traffic_route {
listener_arns = list(var.test_traffic_route_listener_arn)
listener_arns = tolist([var.test_traffic_route_listener_arn])
}

target_group {
Expand Down
2 changes: 1 addition & 1 deletion route53-record.tf
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ resource "aws_route53_record" "hostnames" {
name = var.hostnames[count.index]
type = "CNAME"
ttl = "300"
records = list(var.alb_dns_name)
records = tolist([var.alb_dns_name])

}

0 comments on commit 77e8cfb

Please sign in to comment.