Skip to content

Commit

Permalink
Simplify the Allowed Pattern for agent scaler version.
Browse files Browse the repository at this point in the history
Co-authored-by: Josh Deprez <jd@buildkite.com>
  • Loading branch information
wolfeidau and DrJosh9000 authored Jan 21, 2025
1 parent 6af2550 commit 555e847
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/aws-stack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ Parameters:
BuildkiteAgentScalerVersion:
Description: Version of the buildkite-agent-scaler to use
Type: String
AllowedPattern: '^(?:([2-9]|[1-9][0-9]+)\.(?:\d+)\.(?:\d+)|1\.(?:([1-9][0-9]+|9[0-9]+)\.(?:\d+)|9\.(?:[1-9]|[1-9][0-9]+)))$'
AllowedPattern: '^(?:(?:[2-9]|[1-9]\d+)\.\d+\.\d+|1\.(?:[1-9]\d+\.\d+|9\.[1-9]\d*))$'
ConstraintDescription: "The agent scaler release must be greater than 1.9.0 as a new parameter was introduced in 1.9.1"
Default: "1.9.1"

Expand Down

0 comments on commit 555e847

Please sign in to comment.