Skip to content

Commit 4970f18

Browse files
author
James Healy
committed
Merge branch 'validate-ssm-path'
2 parents 1bf2365 + 630f833 commit 4970f18

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

templates/aws-stack.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,9 +110,10 @@ Parameters:
110110
Default: ""
111111

112112
BuildkiteAgentTokenParameterStorePath:
113-
Description: AWS SSM path to the Buildkite agent registration token (this takes precedence over BuildkiteAgentToken)
113+
Description: AWS SSM path to the Buildkite agent registration token (this takes precedence over BuildkiteAgentToken). Expects a leading slash ('/').
114114
Type: String
115115
Default: ""
116+
AllowedPattern: "^$|^/[a-zA-Z0-9_.-]+$"
116117

117118
BuildkiteAgentTokenParameterStoreKMSKey:
118119
Description: AWS KMS key ID used to encrypt the SSM parameter (if encrypted)

0 commit comments

Comments
 (0)