Fix ec2_endpoint regex to extract region for us-east-1