Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parameterise DisableScaleIn in the template #59

Merged
merged 1 commit into from
Nov 22, 2021

Conversation

keithduncan
Copy link
Contributor

Adds a new optional DisableScaleIn parameter that defaults to true, the current value. This allows importing stacks to set this to false and enable the scale in behaviour of the scaling lambda.

@@ -150,7 +158,7 @@ Resources:
BUILDKITE_QUEUE: !Ref BuildkiteQueue
AGENTS_PER_INSTANCE: !Ref AgentsPerInstance
CLOUDWATCH_METRICS: "1"
DISABLE_SCALE_IN: "1"
DISABLE_SCALE_IN: !Ref DisableScaleIn
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

While this changes the value passed from "1" to "true" the lambda code already supports this.

@keithduncan keithduncan merged commit b4660f4 into master Nov 22, 2021
@keithduncan keithduncan deleted the keithduncan/parameterise-disable-scale-in branch November 22, 2021 03:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant