Skip to content

Commit 88a4fdd

Browse files
committed
bug fixes
1 parent 5b6d411 commit 88a4fdd

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

terraform-aws-elb-alb/route53.tf

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,13 @@ resource "aws_route53_record" "www" {
1010
zone_id = aws_route53_zone.easy_aws.zone_id
1111
name = "www.easyaws.in"
1212
type = "A"
13-
ttl = "300"
14-
records = [aws_lb.elb_example.dns_name]
13+
14+
alias {
15+
name = aws_lb.elb_example.dns_name
16+
zone_id = aws_lb.elb_example.zone_id
17+
evaluate_target_health = true
18+
}
19+
1520
}
1621

1722
output "name_server"{

0 commit comments

Comments
 (0)