Check Route 53 records against all supported types

This commit is contained in:
Michael Vermaes
2018-03-04 14:18:21 +08:00
parent db1ea78e2e
commit 80adb22a4b
+1 -1
View File
@@ -461,7 +461,7 @@ class Route53Provider(BaseProvider):
record_name = zone.hostname_from_fqdn(rrset['Name'])
record_name = _octal_replace(record_name)
record_type = rrset['Type']
if record_type == 'SOA':
if record_type not in self.SUPPORTS:
continue
data = getattr(self, '_data_for_{}'.format(record_type))(rrset)
records[record_name][record_type].append(data)