From 8140e1f559b7963942a4336945d161dd8ded3ae6 Mon Sep 17 00:00:00 2001 From: Hogni Gylfason Date: Sun, 18 Jun 2017 16:00:39 +0000 Subject: [PATCH] Better pattern which allows standalone slash Recommended by @stevemorad in https://github.com/awslabs/aws-transit-vpc/issues/11#issuecomment-309212878 --- transit-vpc-primary-account.template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/transit-vpc-primary-account.template b/transit-vpc-primary-account.template index ba8c1b9..75052a8 100644 --- a/transit-vpc-primary-account.template +++ b/transit-vpc-primary-account.template @@ -66,7 +66,7 @@ "Description" : "S3 prefix to append before S3 key names.", "Type" : "String", "Default" : "vpnconfigs/", - "AllowedPattern": "^[a-z0-9A-Z][a-z0-9A-Z\/]+\/$" + "AllowedPattern": "^[a-z0-9A-Z_/-./]*/$" }, "AccountId" : { "Description" : "Another AWS Account ID to authorize access to VPN Config S3 bucket (for example bucket and KMS key policies).",