get healthcheckid whether set-identifier is set or not

This commit is contained in:
Rajat Jindal 2020-09-29 14:39:28 +05:30
parent 72544c38c3
commit 625eaf4867

View File

@ -599,10 +599,10 @@ func (p *AWSProvider) newChange(action string, ep *endpoint.Endpoint, recordsCac
if useGeolocation {
change.ResourceRecordSet.GeoLocation = geolocation
}
}
if prop, ok := ep.GetProviderSpecificProperty(providerSpecificHealthCheckID); ok {
change.ResourceRecordSet.HealthCheckId = aws.String(prop.Value)
}
if prop, ok := ep.GetProviderSpecificProperty(providerSpecificHealthCheckID); ok {
change.ResourceRecordSet.HealthCheckId = aws.String(prop.Value)
}
return change, dualstack