Skip to content
This repository has been archived by the owner on Jan 25, 2023. It is now read-only.

Add instance scale-in protection for nomad-cluster #71

Merged
merged 1 commit into from
Jul 13, 2020

Conversation

mawa-jnd
Copy link
Contributor

@mawa-jnd mawa-jnd commented Jul 7, 2020

This change solve issue: #70

The changes are tested with an existing nomad-cluster without scale-in protection. The optional scale-in protection is set to true.
The terraform plan output is here:
https://gist.github.com/mawa-jnd/1f1ee3c744f9c38718527c240a5d9475

The change is:

  • backward compatible
  • has no downtime with default setup as changing the ASG will not automatically restart instances

@mawa-jnd mawa-jnd requested a review from robmorgan as a code owner July 7, 2020 10:27
Copy link
Collaborator

@brikis98 brikis98 left a comment

Choose a reason for hiding this comment

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

LGTM, thanks! I'll kick off tests now.

@brikis98
Copy link
Collaborator

Tests passed! Merging now.

@brikis98 brikis98 merged commit fdac24d into hashicorp:master Jul 13, 2020
@brikis98
Copy link
Collaborator

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants