diff --git a/moto/route53/models.py b/moto/route53/models.py index af8bb690..d483d22e 100644 --- a/moto/route53/models.py +++ b/moto/route53/models.py @@ -140,7 +140,9 @@ class RecordSet(BaseModel): {% if record_set.region %} {{ record_set.region }} {% endif %} - {{ record_set.ttl }} + {% if record_set.ttl %} + {{ record_set.ttl }} + {% endif %} {% for record in record_set.records %}