From aa19565a5b091f7b014205ab88552ad1414beb35 Mon Sep 17 00:00:00 2001 From: sanderegg <35365065+sanderegg@users.noreply.github.com> Date: Mon, 11 Dec 2023 16:35:15 +0100 Subject: [PATCH] fix --- packages/aws-library/src/aws_library/ec2/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/aws-library/src/aws_library/ec2/models.py b/packages/aws-library/src/aws_library/ec2/models.py index 529d1ba8d09..9b67359c915 100644 --- a/packages/aws-library/src/aws_library/ec2/models.py +++ b/packages/aws-library/src/aws_library/ec2/models.py @@ -72,7 +72,7 @@ class AWSTagKey(ConstrainedStr): class AWSTagValue(ConstrainedStr): # see [https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_Tags.html#tag-restrictions] # quotes []{} were added as it allows to json encode. it seems to be accepted as a value - regex = re.compile(r"^[a-zA-Z0-9\s\+\-=\._:/@\"\'\[\]\{\}]{0,256}$") + regex = re.compile(r"^[a-zA-Z0-9\s\+\-=\.,_:/@\"\'\[\]\{\}]{0,256}$") EC2Tags: TypeAlias = dict[AWSTagKey, AWSTagValue]