awslabs / aws-api-gateway-developer-portal

A Serverless Developer Portal for easily publishing and cataloging APIs
Apache License 2.0
931 stars 401 forks source link

Add validation for the rebuild mode CloudFormation template parameter #271

Closed Russ-K closed 5 years ago

Russ-K commented 5 years ago

Issue #, if available: Issue #247

Description of changes: Added validation for the StaticAssetRebuildMode parameter. Only allows blank string or the value used by the lambda function.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

echo-bravo-yahoo commented 5 years ago

This is a particularly useful validation - some of the docs recently read overwrite_content instead of overwrite-content, and this would have helped.