mirror of
https://github.com/github/octodns.git
synced 2024-05-11 05:55:00 +00:00
32 lines
815 B
Python
32 lines
815 B
Python
#
|
|
# Ignores AWS ACM validation CNAME records.
|
|
#
|
|
|
|
from __future__ import (
|
|
absolute_import,
|
|
division,
|
|
print_function,
|
|
unicode_literals,
|
|
)
|
|
|
|
from logging import getLogger
|
|
|
|
logger = getLogger('Route53')
|
|
try:
|
|
logger.warning(
|
|
'octodns_route53 shimmed. Update your processor class to '
|
|
'octodns_route53.processor.AwsAcmMangingProcessor. '
|
|
'Shim will be removed in 1.0'
|
|
)
|
|
from octodns_route53.processor import AwsAcmMangingProcessor
|
|
|
|
AwsAcmMangingProcessor # pragma: no cover
|
|
except ModuleNotFoundError:
|
|
logger.exception(
|
|
'AwsAcmMangingProcessor has been moved into a separate '
|
|
'module, octodns_route53 is now required. Processor '
|
|
'class should be updated to '
|
|
'octodns_route53.processor.AwsAcmMangingProcessor'
|
|
)
|
|
raise
|