From cd935d9da1275dc39b97453c831c74cc0cc66a25 Mon Sep 17 00:00:00 2001 From: Russell Keane Date: Thu, 13 Jun 2019 09:08:39 +0100 Subject: [PATCH] Add validation for the rebuild mode --- cloudformation/template.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cloudformation/template.yaml b/cloudformation/template.yaml index 551cafc15..3a5288aa8 100644 --- a/cloudformation/template.yaml +++ b/cloudformation/template.yaml @@ -74,6 +74,10 @@ Parameters: Type: String Description: By default, a static asset rebuild doesn't overwrite custom-content. Provide the value `overwrite-content` to replace the custom-content with your local version. Don't do this unless you know what you're doing -- all custom changes in your s3 bucket will be lost. Default: '' + AllowedValues: + - 'overwrite-content' + - '' + ConstraintDescription: Malformed input - Parameter StaticAssetRebuildMode value must be either 'overwrite-content' or left blank. MarketplaceSubscriptionTopicProductCode: Type: String