ks888 / LambStatus

[Maintenance mode] Serverless Status Page System
https://lambstatus.github.io
Apache License 2.0
1.3k stars 120 forks source link

Add 'Allowed Pattern' property to User Parameters of CloudFormation template #7

Closed ks888 closed 7 years ago

ks888 commented 7 years ago

UserEmail and UserName parameters of CloudFormation template accept any values, and it will cause the errors like https://github.com/ks888/LambStatus/issues/6 later.

Add AllowedPattern property to parameters so that we can notice the wrong values as soon as possible. http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/parameters-section-structure.html

ks888 commented 7 years ago

https://github.com/ks888/LambStatus/commit/3dc52622b5b6f56acd0a1efb99a7de217af75f0c fixes this.