Skip to content

Commit b69c9fc

Browse files
author
EC2 Default User
committed
Fix CustomConfigPath parameter indentation and regex pattern
- Fixed YAML indentation for CustomConfigPath parameter properties - Corrected AllowedPattern regex to include proper escaping and end anchor - Resolves CloudFormation validation error about null values
1 parent 507d9e5 commit b69c9fc

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

template.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -147,13 +147,13 @@ Parameters:
147147
# Custom Configuation Path:
148148

149149
CustomConfigPath:
150-
Type: String
151-
Default: ""
152-
Description: >-
150+
Type: String
151+
Default: ""
152+
Description: >-
153153
S3 URI pointing to your custom configuration YAML file. When provided, this configuration overrides the selected pattern preset and applies to all processing patterns.
154154
Leave blank to use the selected pattern configuration preset. For example s3://my-bucket/custom-config/config.yaml
155-
AllowedPattern: '^(|s3://[a-zA-Z0-9.\-_]+(/.*)?)'
156-
ConstraintDescription: Must be empty or a valid S3 URI (e.g., s3://my-bucket/custom-config/config.yaml)
155+
AllowedPattern: '^(|s3://[a-zA-Z0-9.\\-_]+(/.*)?)$'
156+
ConstraintDescription: Must be empty or a valid S3 URI (e.g., s3://my-bucket/custom-config/config.yaml)
157157

158158
# HITL (A2I) Configuration
159159

0 commit comments

Comments
 (0)