Skip to content

Commit f672f0d

Browse files
committed
ttl
1 parent fc50d2b commit f672f0d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

operations/deployment/terraform/modules/aws/route53/aws_route53.tf

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ resource "aws_route53_record" "dev" {
1818
}
1919
}
2020
records = var.aws_elb_zone_id == "" ? [var.aws_elb_dns_name] : null
21+
ttl = var.aws_elb_zone_id == "" ? 300 : null
2122
}
2223

2324
resource "aws_route53_record" "root-a" {
@@ -35,6 +36,7 @@ resource "aws_route53_record" "root-a" {
3536
}
3637
}
3738
records = var.aws_elb_zone_id == "" ? [var.aws_elb_dns_name] : null
39+
ttl = var.aws_elb_zone_id == "" ? 300 : null
3840
}
3941

4042
resource "aws_route53_record" "www-a" {
@@ -52,6 +54,7 @@ resource "aws_route53_record" "www-a" {
5254
}
5355
}
5456
records = var.aws_elb_zone_id == "" ? [var.aws_elb_dns_name] : null
57+
ttl = var.aws_elb_zone_id == "" ? 300 : null
5558
}
5659

5760
locals {

0 commit comments

Comments
 (0)