Skip to content

Commit 24ef484

Browse files
committed
Remove references to BuildkiteApiAccessToken
1 parent e47aa52 commit 24ef484

File tree

3 files changed

+3
-11
lines changed

3 files changed

+3
-11
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ Examples:
134134

135135
## Autoscaling
136136

137-
If you have provided `BuildkiteApiAccessToken` and your `MinSize` < `MaxSize`, the stack will automatically scale up and down based on the number of scheduled jobs.
137+
If you have configured `MinSize` < `MaxSize`, the stack will automatically scale up and down based on the number of scheduled jobs.
138138

139139
This means you can scale down to zero when idle, which means you can use larger instances for the same cost.
140140

config.json.example

+1-9
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,8 @@
11
[
2-
{
3-
"ParameterKey": "BuildkiteOrgSlug",
4-
"ParameterValue": "MyOrg"
5-
},
62
{
73
"ParameterKey": "BuildkiteAgentToken",
84
"ParameterValue": "TokenGoesHere"
95
},
10-
{
11-
"ParameterKey": "BuildkiteApiAccessToken",
12-
"ParameterValue": "ApiTokenGoesHere"
13-
},
146
{
157
"ParameterKey": "KeyName",
168
"ParameterValue": "default"
@@ -19,4 +11,4 @@
1911
"ParameterKey": "ImageId",
2012
"ParameterValue": ""
2113
}
22-
]
14+
]

templates/buildkite-elastic.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ Conditions:
299299
"Fn::Not": [ "Fn::Equals": [ { Ref: MaxSize }, { Ref: MinSize } ] ]
300300

301301
CreateMetricsStack:
302-
"Fn::And": [ Condition: UseAutoscaling, { "Fn::Not": [ "Fn::Equals": [ { Ref: BuildkiteApiAccessToken }, "" ] ] } ]
302+
Condition: UseAutoscaling
303303

304304
UseCostAllocationTags:
305305
"Fn::Equals": [ { Ref: EnableCostAllocationTags }, "true" ]

0 commit comments

Comments
 (0)