1
0
mirror of https://github.com/github/octodns.git synced 2024-05-11 05:55:00 +00:00

HealthCheckId is required for geo records now

This commit is contained in:
Ross McFarland
2017-05-09 14:22:39 -07:00
parent e7fffb0ca1
commit ee6a654054

View File

@@ -90,8 +90,7 @@ class _Route53Record(object):
elif self.geo:
geo = self.geo
rrset['SetIdentifier'] = geo.code
if self.health_check_id:
rrset['HealthCheckId'] = self.health_check_id
rrset['HealthCheckId'] = self.health_check_id
if geo.subdivision_code:
rrset['GeoLocation'] = {
'CountryCode': geo.country_code,