resolve to cloudfront if present