Skip to content

Commit e5d074d

Browse files
add checks
1 parent 3b605bf commit e5d074d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

modules/log_ingestion.s3.cft.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,10 +85,12 @@ Parameters:
8585
Type: String
8686
Description: The AWS Account ID that owns the SNS topic.
8787
Default: ""
88+
AllowedPattern: '^[0-9]{12}$'
8889
OrganizationalUnitIds:
8990
Type: String
9091
Description: Comma-separated list of AWS Organizations organizational unit (OU) IDs for cross-account deployments.
91-
Default: "root"
92+
Default: "r-root"
93+
AllowedPattern: '^(ou-[a-z0-9]{4,32}-[a-z0-9]{8,32}|r-[a-z0-9]{4,32})(,\s*(ou-[a-z0-9]{4,32}-[a-z0-9]{8,32}|r-[a-z0-9]{4,32}))*$'
9294
CreateTopic:
9395
Type: String
9496
AllowedValues:

0 commit comments

Comments
 (0)