Created
June 7, 2016 11:03
-
-
Save egarbi/e239e1edf916f72e437a24964478b8e0 to your computer and use it in GitHub Desktop.
taint in one instance triggers the provisioning in all of them
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I have this "triggers { cluster_instance_ids = "${element(aws_instance.elasticsearch.*.id, count.index)}" }" | |
associated to 2 elasticsearch instances | |
now the problem is, suppose I need to rebuild just one instance... | |
$ terraform taint -state=terraform.tfstate.test -module=escluster aws_instance.elasticsearch.1 | |
the trigger is actually triggering the reprovision in both instances | |
not only on the one was tainted | |
ideas? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment