Skip to content

Commit e0a201f

Browse files
committed
Make CloudFormation return a more clear error when the parameter Version is not specified.
1 parent c4aab12 commit e0a201f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

infrastructure/parallelcluster-ui.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ Parameters:
3434
Version:
3535
Description: Version of AWS ParallelCluster to deploy.
3636
Type: String
37+
AllowedPattern: "^([0-9]+)\\.([0-9]+)\\.([0-9]+)$"
38+
ConstraintDescription: Please specify a valid ParallelCluster version.
3739
ImageBuilderVpcId:
3840
Description: (Optional) Select the VPC to use for building the container images. If not selected, default VPC will be used.
3941
Type: String

0 commit comments

Comments
 (0)