Skip to content

Commit

Permalink
Update template.yaml
Browse files Browse the repository at this point in the history
fixing regex issues
  • Loading branch information
ChrisPates committed Dec 7, 2023
1 parent cf280d4 commit cba9b34
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -102,12 +102,12 @@ Parameters:
GoogleCredentials:
Type: String
Description: Credentials to log into Google (content of credentials.json)
AllowedPattern: '(^{.*}$)|(arn:aws:secretsmanager:us-east-2:[0-9]{8,12}:secret:[a-zA-Z0-9/_+=.@-]{1,512})'
AllowedPattern: '({(\s)*(".*")(\s)*:(\s)*(".*")(\s)*})|(arn:aws:secretsmanager:us-east-2:[0-9]{8,12}:secret:[a-zA-Z0-9/_+=.@-]{1,512})'
NoEcho: true
GoogleAdminEmail:
Type: String
Description: Google Admin email
AllowedPattern: '([a-zA-Z0-9.+=_-]{0,61})@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)|(arn:aws:secretsmanager:us-east-2:[0-9]{8,12}:secret:[a-zA-Z0-9/_+=.@-]{1,512})'
AllowedPattern: '(([a-zA-Z0-9.+=_-]{0,61})@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)|(arn:aws:secretsmanager:us-east-2:[0-9]{8,12}:secret:[a-zA-Z0-9/_+=.@-]{1,512})'
NoEcho: true
SCIMEndpointUrl:
Type: String
Expand Down

0 comments on commit cba9b34

Please sign in to comment.