Open jseaidou opened 8 years ago
This isn't currently possible but something like this is interesting for a lifecycle
option.
This is an old issue so I'm not sure what exactly was possible at the time, but in modern Terraform I would expect that a provisioner failure during the create leg of a "create before destroy" replace would:
This doesn't exactly match the request because the first apply won't immediately destroy the failed objects, but the next plan would propose to destroy them unless the operator manually removes the tainted status using the terraform untaint
command.
Therefore I wonder if the current behavior is already close enough to consider this "done". 🤔
Hey, we want to be able to when upgrading a instance or recycling with the create_before_destroy flag to make sure certain events passed (for example provisionner finished successfully etc .. ). We dont want upgrade and have our cluster taken down because of this. With that being said, is it possible to implement something similar to:
This gives the benefit of also not crippling the cluster of VMs because we lost some of our machines and can't handle the load as efficiently.