Skip to content
This repository has been archived by the owner on Aug 9, 2023. It is now read-only.

Commit

Permalink
fix S3 HTTP URL pattern
Browse files Browse the repository at this point in the history
  • Loading branch information
wleepang committed Oct 25, 2020
1 parent fe8e1b4 commit b5471f9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/templates/gwfcore/gwfcore-root.template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ Parameters:
Default: https://aws-genomics-workflows.s3.amazonaws.com/templates # dist: pin_version
ConstraintDescription: >-
Must be a valid S3 HTTP URL
AllowedPattern: "https://[a-z0-9-./]{0,}s3(-[a-z0-9]+)*\\.amazonaws\\.com/[a-z0-9-./]{3,}"
AllowedPattern: "https://[a-z0-9-./]{0,}s3([a-z0-9-.]+)*\\.amazonaws\\.com/[a-z0-9-./]{3,}"

Conditions:
NoNamespace: !Equals [ !Ref Namespace, "" ]
Expand Down
2 changes: 1 addition & 1 deletion src/templates/nextflow/nextflow-resources.template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ Parameters:
Default: https://aws-genomics-workflows.s3.amazonaws.com/templates # dist: pin_version
ConstraintDescription: >-
Must be a valid S3 HTTP URL
AllowedPattern: "https://[a-z0-9-./]{0,}s3(-[a-z0-9]+)*\\.amazonaws\\.com/[a-z0-9-./]{3,}"
AllowedPattern: "https://[a-z0-9-./]{0,}s3([a-z0-9-.]+)*\\.amazonaws\\.com/[a-z0-9-./]{3,}"

Conditions:
UseLatestNextflowVersion:
Expand Down
2 changes: 1 addition & 1 deletion src/templates/step-functions/sfn-resources.template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ Parameters:
Default: https://aws-genomics-workflows.s3.amazonaws.com/templates # dist: pin_version
ConstraintDescription: >-
Must be a valid S3 HTTP URL
AllowedPattern: "https://[a-z0-9-./]{0,}s3(-[a-z0-9]+)*\\.amazonaws\\.com/[a-z0-9-./]{3,}"
AllowedPattern: "https://[a-z0-9-./]{0,}s3([a-z0-9-.]+)*\\.amazonaws\\.com/[a-z0-9-./]{3,}"

Conditions:
NoNamespace: !Equals [ !Ref Namespace, "" ]
Expand Down

0 comments on commit b5471f9

Please sign in to comment.