From 7dcfa85fb8208d81cae22562b4e3a82f7d631c6a Mon Sep 17 00:00:00 2001 From: Steve Pulec Date: Thu, 28 Apr 2016 09:42:10 -0400 Subject: [PATCH] Add physical_resource_id to Route53.RecordSet. Closes #595. --- moto/route53/models.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/moto/route53/models.py b/moto/route53/models.py index 67c262e8c..845991c5a 100644 --- a/moto/route53/models.py +++ b/moto/route53/models.py @@ -106,6 +106,10 @@ class RecordSet(object): except KeyError: pass + @property + def physical_resource_id(self): + return self.name + def to_xml(self): template = Template(""" {{ record_set.name }}