mirror of
https://github.com/hashicorp/vault.git
synced 2025-08-21 22:51:09 +02:00
Previously our `shutdown_nodes` modules would halt the machine. While this is useful for simulating a failure it makes cleaning up the halted machines very slow in AWS. Instead, we now poweroff the machines and utilize EC2's instance poweroff handling to immediately terminate the instances. I've test both scenarios locally utilizing the change and both still work as expected. I also timed before and after and this change saves 5 MINUTES in total runtime (~40%) for the PR replication scenario. I assume it yields similar results for autopilot. Signed-off-by: Ryan Cragun <me@ryan.ec>