diff --git a/botocore/endpoint_provider.py b/botocore/endpoint_provider.py index 69f9a11a08..08d03a18b7 100644 --- a/botocore/endpoint_provider.py +++ b/botocore/endpoint_provider.py @@ -44,7 +44,7 @@ TEMPLATE_STRING_RE = re.compile(r"\{[a-zA-Z#]+\}") GET_ATTR_RE = re.compile(r"(\w*)\[(\d+)\]") VALID_HOST_LABEL_RE = re.compile( - r"^(?!-)[a-zA-Z\d-]{1,63}(?