mirror of
				https://github.com/github/octodns.git
				synced 2024-05-11 05:55:00 +00:00 
			
		
		
		
	Switch to an explicit SUPPORTS setup
This commit is contained in:
		@@ -220,6 +220,8 @@ class Route53Provider(BaseProvider):
 | 
			
		||||
    In general the account used will need full permissions on Route53.
 | 
			
		||||
    '''
 | 
			
		||||
    SUPPORTS_GEO = True
 | 
			
		||||
    SUPPORTS = set(('A', 'AAAA', 'CNAME', 'MX', 'NAPTR', 'NS', 'PTR', 'SPF',
 | 
			
		||||
                    'SRV', 'TXT'))
 | 
			
		||||
 | 
			
		||||
    # This should be bumped when there are underlying changes made to the
 | 
			
		||||
    # health check config.
 | 
			
		||||
@@ -239,9 +241,6 @@ class Route53Provider(BaseProvider):
 | 
			
		||||
        self._r53_rrsets = {}
 | 
			
		||||
        self._health_checks = None
 | 
			
		||||
 | 
			
		||||
    def supports(self, record):
 | 
			
		||||
        return record._type not in ('ALIAS', 'SSHFP')
 | 
			
		||||
 | 
			
		||||
    @property
 | 
			
		||||
    def r53_zones(self):
 | 
			
		||||
        if self._r53_zones is None:
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user