Update octodns/provider/route53.py

Co-Authored-By: Ross McFarland <[email protected]>
This commit is contained in:
Joshua Hügli
2019-12-10 17:03:31 +01:00
committed by GitHub
parent fcf32e2d44
commit b9d0586c7f
+1 -1
View File
@@ -678,7 +678,7 @@ class Route53Provider(BaseProvider):
del_set = self.delegation_set_id
self.log.debug('_get_zone_id: no matching zone, creating, '
'ref=%s', ref)
if self.delegation_set_id:
if del_set:
resp = self._conn.create_hosted_zone(Name=name,
CallerReference=ref,
DelegationSetId=del_set)