awslabs / amplify-video

An open source Category Plugin for the AWS Amplify-CLI that makes it easy to deploy live and file based streaming video services and integrate them into your Amplify applications.
https://www.npmjs.com/package/amplify-category-video
Apache License 2.0
269 stars 56 forks source link

Template Regex Incorrect #102

Closed smp closed 4 years ago

smp commented 4 years ago

Describe the bug Specifying a custom template with non-alphanumeric characters results in an error.

To Reproduce create vod resource and select BYOT specify any system template (they are all non-alphanumeric) see failure

Expected behavior we should support template selections that are alphanumeric

smp commented 4 years ago

according to @wizage reverse engineering...

80, and the characters $&,:;?<>`"#%{}/|\^~ are not allowed

smp commented 4 years ago

found another one...

JobTemplate AWS::MediaConvert::JobTemplate Fri Jun 12 2020 16:50:04 GMT-0700 (Pacific Daylight Time) 'System-Generic_Mp4_Hev1_Avc_Aac_Sdr_Qvbr-abcvod-dev-abcvod-dev' is not a valid name, the name cannot begin with 'System-'. (Service: MediaConvert; Status Code: 400; Error Code: BadRequestException; Request ID: f0ee5f69-af77-466d-89c7-c0a4c7e48f20)