Skip to content

Commit b54280d

Browse files
authored
fix: allow hyphens in all InstanceTypes values
The current `InstanceTypes` AllowedPattern allows hyphens for the first instance type listed, but not for the following ones. This is a tiny tweak to allow hyphens for all instance types listed.
1 parent 2da1406 commit b54280d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/aws-stack.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ Parameters:
292292
Type: String
293293
Default: t3.large
294294
MinLength: 1
295-
AllowedPattern: "^[\\w-\\.]+(,[\\w\\.]*){0,3}$"
295+
AllowedPattern: "^[\\w-\\.]+(,[\\w-\\.]*){0,3}$"
296296
ConstraintDescription: "must contain 1-4 instance types separated by commas. No space before/after the comma."
297297

298298
MaxSize:

0 commit comments

Comments
 (0)