Skip to content

Commit deaeb72

Browse files
authored
Allow dashes in BuildkiteAgentToken Path
1 parent 536e91e commit deaeb72

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
@@ -113,7 +113,8 @@ Parameters:
113113
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_.-/]+$"
116+
AllowedPattern: "^$|^/[a-zA-Z0-9_.\\-/]+$"
117+
ConstraintDescription: "Expects a leading forward slash"
117118

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

0 commit comments

Comments
 (0)