Skip to content

Commit

Permalink
Merge pull request #1437 from buildkite/feat_override_agent_endpoint_…
Browse files Browse the repository at this point in the history
…for_scaler

Upgrade the agent scaler which introduces a new agent endpoint param
  • Loading branch information
wolfeidau authored Jan 21, 2025
2 parents 1775168 + 555e847 commit 0ea96a9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion templates/aws-stack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,9 @@ Parameters:
BuildkiteAgentScalerVersion:
Description: Version of the buildkite-agent-scaler to use
Type: String
Default: "1.8.0"
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"

LogRetentionDays:
Type: Number
Expand Down Expand Up @@ -1616,6 +1618,7 @@ Resources:
BuildkiteAgentTokenParameter: !If [ UseCustomerManagedParameterPath, !Ref BuildkiteAgentTokenParameterStorePath, !Ref BuildkiteAgentTokenParameter ]
BuildkiteAgentTokenParameterStoreKMSKey: !If [ UseCustomerManagedKeyForParameterStore, !Ref BuildkiteAgentTokenParameterStoreKMSKey, "" ]
RolePermissionsBoundaryARN: !If [ SetInstanceRolePermissionsBoundaryARN, !Ref InstanceRolePermissionsBoundaryARN, "" ]
AgentEndpoint: !Ref AgentEndpoint
BuildkiteQueue: !Ref BuildkiteQueue
AgentsPerInstance: !Ref AgentsPerInstance
MinSize: !Ref MinSize
Expand Down

0 comments on commit 0ea96a9

Please sign in to comment.