GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Solved by changing the String ec2EndpointUrl to be a AwsRegion region
bug fix for JENKINS-6063 use region rather than ec2EndpointUrl
more clean up
Merged. I've also gave you the commit access.