fixing host names on AWS provider