Skip to content

Commit ac97f40

Browse files
author
James Healy
authored
Merge pull request #837 from nitrocode/allow-dashes-in-token
Allow dashes in BuildkiteAgentToken Path
2 parents 536e91e + deaeb72 commit ac97f40

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)