We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5b6d411 commit 88a4fddCopy full SHA for 88a4fdd
1 file changed
terraform-aws-elb-alb/route53.tf
@@ -10,8 +10,13 @@ resource "aws_route53_record" "www" {
10
zone_id = aws_route53_zone.easy_aws.zone_id
11
name = "www.easyaws.in"
12
type = "A"
13
- ttl = "300"
14
- records = [aws_lb.elb_example.dns_name]
+
+ 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
20
}
21
22
output "name_server"{
0 commit comments