hashicorp / terraform-aws-consul

A Terraform Module for how to run Consul on AWS using Terraform and Packer
Apache License 2.0
401 stars 484 forks source link

Add instance scale-in protection for consul-cluster #178

Closed mawa-jnd closed 4 years ago

mawa-jnd commented 4 years ago

This change solve issue: https://github.com/hashicorp/terraform-aws-consul/issues/177

The changes are tested with an existing consul-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/476ab6680a68d6c4b1770a372cfff5aa

The change is:

hashicorp-cla commented 4 years ago

CLA assistant check
All committers have signed the CLA.

brikis98 commented 4 years ago

Tests passed! Merging now.

brikis98 commented 4 years ago

https://github.com/hashicorp/terraform-aws-consul/releases/tag/v0.7.5