Skip to content

Commit a665306

Browse files
Merge branch 'UpdateRESEnvNameAllowedPattermInDemoAndBIStack' into 'develop'
Update EnvironmentName Allowed Pattern in demo stack and BI stack to match the RES template See merge request mwvaughn/aws-hpc-recipes!104
2 parents 5a61330 + 221f39f commit a665306

File tree

3 files changed

+5
-9
lines changed

3 files changed

+5
-9
lines changed

recipes/res/res_demo_env/assets/bi.yaml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,9 @@ Parameters:
3434
Type: String
3535
Default: ""
3636
EnvironmentName:
37-
Description: (Optional) Provide name of the RES Environment. It must start with "res-", may not contain "aws", and entire name must be less than or equal to 10 characters (lowercase, numbers, hypens are permitted). Required to generate certificates.
37+
Description: (Optional) EnvironmentName must start with "res-"and should be less than or equal to 11 characters. Required to generate certificates.
3838
Type: String
39-
MinLength: 0
40-
MaxLength: 10
41-
AllowedPattern: $^|(^(?!.*aws)res-[a-z0-9-]{1,6}$)
39+
AllowedPattern: ^res-[A-Za-z\-\_0-9]{0,7}$
4240
Default: res-demo
4341
AdminPassword:
4442
Description: Provide the Active Directory Administrator Account Password Directly or Resource ARN to Secret Containing Password.

recipes/res/res_demo_env/assets/res-demo-stack.yaml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,8 @@ Parameters:
2626
Description: Provide name of the RES Environment. Must be unique for your account and AWS Region.
2727
Type: String
2828
Default: res-demo
29-
MinLength: 5
30-
MaxLength: 10
31-
AllowedPattern: ^(?!.*aws)res-[a-z0-9-]{1,6}$
32-
ConstraintDescription: EnvironmentName must start with "res-", cannot contain "aws", and entire name must be less than or equal to 10 characters (lowercase, numbers, hypens are permitted).
29+
AllowedPattern: ^res-[A-Za-z\-\_0-9]{0,7}$
30+
ConstraintDescription: EnvironmentName must start with "res-" and should be less than or equal to 11 characters.
3331

3432
AdministratorEmail:
3533
Type: String

recipes/res/res_demo_env/assets/res-sso-keycloak.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Parameters:
2222
Type: String
2323
Default: res-demo
2424
AllowedPattern: ^res-[A-Za-z\-\_0-9]{0,7}$
25-
ConstraintDescription: EnvironmentName must start with "res-"and should be less than or equal to 11 characters.
25+
ConstraintDescription: EnvironmentName must start with "res-" and should be less than or equal to 11 characters.
2626

2727
Keypair:
2828
Description: EC2 Keypair to access management instance.

0 commit comments

Comments
 (0)